fix(animation): disable on cross-monitor drag

This commit adds an edge case missed in
50a279239a.
This commit is contained in:
LGUG2Z
2024-07-15 17:30:28 -07:00
parent 81451cb17a
commit 6ea71834a1
4 changed files with 15 additions and 10 deletions
+1 -1
View File
@@ -225,7 +225,7 @@ pub static SESSION_ID: AtomicU32 = AtomicU32::new(0);
pub static REMOVE_TITLEBARS: AtomicBool = AtomicBool::new(false);
pub static ANIMATION_ENABLED: AtomicBool = AtomicBool::new(false);
pub static ANIMATION_TEMPORARY_DISABLED: AtomicBool = AtomicBool::new(false);
pub static ANIMATION_TEMPORARILY_DISABLED: AtomicBool = AtomicBool::new(false);
pub static ANIMATION_DURATION: AtomicU64 = AtomicU64::new(250);
#[must_use]