Fix issue with repaint
This commit is contained in:
parent
a3edc7443f
commit
01285ec525
|
|
@ -205,7 +205,7 @@ export const XREffect = GObject.registerClass({
|
||||||
this.setIntermittentUniformVariables();
|
this.setIntermittentUniformVariables();
|
||||||
|
|
||||||
GLib.timeout_add(GLib.PRIORITY_DEFAULT, this._frametime, () => {
|
GLib.timeout_add(GLib.PRIORITY_DEFAULT, this._frametime, () => {
|
||||||
if ((now - lastPaint) > frametime) this.get_actor().queue_redraw();
|
if ((now - lastPaint) > frametime) global.stage.queue_redraw();
|
||||||
return GLib.SOURCE_CONTINUE;
|
return GLib.SOURCE_CONTINUE;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue