[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 13:51:06 +0000 (UTC)
commit eca0984bcb158766e590a9e96e9ff7ba1e5ef2d6
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.
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]