Remove color reference
This commit is contained in:
parent
73ac5a67b6
commit
1264af4ff8
|
|
@ -38,10 +38,9 @@ export const MouseSpriteContent = GObject.registerClass({
|
||||||
if (!this._texture)
|
if (!this._texture)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
let color = Clutter.Color.get_static(Clutter.StaticColor.WHITE);
|
|
||||||
let [minFilter, magFilter] = actor.get_content_scaling_filters();
|
let [minFilter, magFilter] = actor.get_content_scaling_filters();
|
||||||
let textureNode = new Clutter.TextureNode(this._texture,
|
let textureNode = new Clutter.TextureNode(this._texture,
|
||||||
color, minFilter, magFilter);
|
null, minFilter, magFilter);
|
||||||
textureNode.set_name('BreezyDesktopSpriteContent');
|
textureNode.set_name('BreezyDesktopSpriteContent');
|
||||||
node.add_child(textureNode);
|
node.add_child(textureNode);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue