mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
Focusing the desaturation effect on '_iconContainer' so not not to affect the indicator colors. They are configurable seperately and shouldn't be overidden.
This commit is contained in:
@@ -643,7 +643,7 @@ export const TaskbarAppIcon = GObject.registerClass({
|
||||
let desaturationValue = 1.0
|
||||
let sat_effect = new Clutter.DesaturateEffect({factor : desaturationValue});
|
||||
sat_effect.set_factor(desaturationValue);
|
||||
this.add_effect_with_name('desaturate', sat_effect);
|
||||
this._iconContainer.add_effect_with_name('desaturate', sat_effect);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user