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:
JimBroad
2025-01-29 09:54:18 -04:00
parent e6e8d51f2c
commit 2f280c0295

View File

@@ -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);
}
}