From 468fe71ff95121ba79127bac2b7b014b3b8dfcaa Mon Sep 17 00:00:00 2001 From: wheaney <42350981+wheaney@users.noreply.github.com> Date: Wed, 26 Jun 2024 16:32:14 -0700 Subject: [PATCH] Increase frequency of xrEffect repaints --- gnome/src/xrEffect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnome/src/xrEffect.js b/gnome/src/xrEffect.js index e68ad30..3e88395 100644 --- a/gnome/src/xrEffect.js +++ b/gnome/src/xrEffect.js @@ -281,7 +281,7 @@ export const XREffect = GObject.registerClass({ super(params); // target a slightly lower framerate than the monitor's refresh rate to prevent repainting too frequently - const frameTimeFramerate = this.target_framerate * 0.9; + const frameTimeFramerate = this.target_framerate * 1.25; this._frametime = Math.floor(1000 / frameTimeFramerate); this._is_display_distance_at_end = false;