Fix issue with repaint

This commit is contained in:
wheaney 2024-04-11 16:21:39 -07:00
parent a3edc7443f
commit 01285ec525
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ export const XREffect = GObject.registerClass({
this.setIntermittentUniformVariables();
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;
});