mirror of
https://github.com/gosticks/PaperWM.git
synced 2026-08-12 04:00:20 +00:00
workspace menu: Always update the text color
We need to connect the Ste.Entry.clutter_text actor here.
This commit is contained in:
@@ -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}; `);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user