From fd40c6ca845af2867240dad71b01b63e43009c77 Mon Sep 17 00:00:00 2001 From: wheaney <42350981+wheaney@users.noreply.github.com> Date: Wed, 19 Feb 2025 13:27:48 -0800 Subject: [PATCH] Reduce the monitor unfocus threshold a little --- gnome/src/virtualmonitorsactor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnome/src/virtualmonitorsactor.js b/gnome/src/virtualmonitorsactor.js index 0635d5c..e03a4f0 100644 --- a/gnome/src/virtualmonitorsactor.js +++ b/gnome/src/virtualmonitorsactor.js @@ -26,7 +26,7 @@ function applyQuaternionToVector(vector, quaternion) { const FOCUS_THRESHOLD = 0.95 / 2.0; // if we leave the monitor with some margin, unfocus even if no other monitor is in focus -const UNFOCUS_THRESHOLD = 1.25 / 2.0; +const UNFOCUS_THRESHOLD = 1.1 / 2.0; /** * Find the vector in the array that's closest to the quaternion rotation