From 01285ec525411e32bdaf7900dcb41bbe828b8364 Mon Sep 17 00:00:00 2001 From: wheaney <42350981+wheaney@users.noreply.github.com> Date: Thu, 11 Apr 2024 16:21:39 -0700 Subject: [PATCH] Fix issue with repaint --- gnome/breezydesktop@org.xronlinux/xrEffect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnome/breezydesktop@org.xronlinux/xrEffect.js b/gnome/breezydesktop@org.xronlinux/xrEffect.js index 31bfe97..5900261 100644 --- a/gnome/breezydesktop@org.xronlinux/xrEffect.js +++ b/gnome/breezydesktop@org.xronlinux/xrEffect.js @@ -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; });