[gnome-shell/wip/carlosg/magnifier-improvements: 2/11] magnifier: Apply color inversion to crosshairs/pointer
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/carlosg/magnifier-improvements: 2/11] magnifier: Apply color inversion to crosshairs/pointer
- Date: Thu, 6 Feb 2020 14:26:14 +0000 (UTC)
commit bd15f0fcacbd1ca39059a6f7aeaf2e3b240e9e5f
Author: Carlos Garnacho <carlosg gnome org>
Date: Thu Feb 6 10:33:27 2020 +0100
magnifier: Apply color inversion to crosshairs/pointer
It is somewhat unexpected that crosshair color and pointer cursor colors
remain the same across changes in color inversion settings, and may lead
to contrast issues. Apply the effect on the common container, so it
applies to these all.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/984
js/ui/magnifier.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/magnifier.js b/js/ui/magnifier.js
index af6c2567d6..8d2bf34a61 100644
--- a/js/ui/magnifier.js
+++ b/js/ui/magnifier.js
@@ -1324,7 +1324,7 @@ var ZoomRegion = class ZoomRegion {
this._crossHairsActor = null;
// Contrast and brightness effects.
- this._magShaderEffects = new MagShaderEffects(this._uiGroupClone);
+ this._magShaderEffects = new MagShaderEffects(mainGroup);
this._magShaderEffects.setColorSaturation(this._colorSaturation);
this._magShaderEffects.setInvertLightness(this._invertLightness);
this._magShaderEffects.setBrightness(this._brightness);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]