magnifier: Use all color channels to paint content texture node
In order to paint all the color channels of the content texture we need to set the color channels to 255, so instead of doing this manually we can just reuse the static color definition for white. Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/1020
This commit is contained in:
parent
7eee0e0ed6
commit
4247251020
@ -65,7 +65,7 @@ var MouseSpriteContent = GObject.registerClass({
|
|||||||
if (!this._texture)
|
if (!this._texture)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
let color = new Clutter.Color();
|
let color = Clutter.Color.get_static(Clutter.StaticColor.WHITE);
|
||||||
let textureNode = new Clutter.TextureNode(this._texture,
|
let textureNode = new Clutter.TextureNode(this._texture,
|
||||||
color,
|
color,
|
||||||
Clutter.ScalingFilter.NEAREST,
|
Clutter.ScalingFilter.NEAREST,
|
||||||
|
Loading…
Reference in New Issue
Block a user