workspace menu: Always update the text color

We need to connect the Ste.Entry.clutter_text actor here.
This commit is contained in:
Tor Hedin Brønner
2018-05-15 22:37:17 +02:00
parent 11a37af93d
commit ccbd44e3ff
+2 -3
View File
@@ -88,9 +88,8 @@ class ColorEntry {
}
this.entry = new PopupMenuEntry('', 'Set color');
this.entry.actor.connect(
'notify::text',
() => {
this.entry.actor.clutter_text.connect(
'text-changed', () => {
let color = this.entry.actor.text;
this.entry.actor.set_style(`color: ${color}; `);
});