From 579f5585a9fc7d4eb584e22927572d47e4c9d74e Mon Sep 17 00:00:00 2001 From: Eric Handley Date: Mon, 2 Mar 2026 16:27:04 -0800 Subject: [PATCH] fix(launcher): skip delay when animations disabled --- Modules/MainScreen/SmartPanel.qml | 8 +++++++- Modules/Panels/Launcher/LauncherCore.qml | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Modules/MainScreen/SmartPanel.qml b/Modules/MainScreen/SmartPanel.qml index 36036a168..fb09ee27b 100644 --- a/Modules/MainScreen/SmartPanel.qml +++ b/Modules/MainScreen/SmartPanel.qml @@ -1312,7 +1312,13 @@ Item { // Make panel visible, now only the intended dimension will animate root.isPanelVisible = true; - opacityTrigger.start(); + + if (Style.animationNormal === 0) { + // Skip delay when animations are disabled + root.sizeAnimationComplete = true; + } else { + opacityTrigger.start(); + } // Start open watchdog timer root.openWatchdogActive = true; diff --git a/Modules/Panels/Launcher/LauncherCore.qml b/Modules/Panels/Launcher/LauncherCore.qml index ae54f39cf..5c57f370f 100644 --- a/Modules/Panels/Launcher/LauncherCore.qml +++ b/Modules/Panels/Launcher/LauncherCore.qml @@ -47,7 +47,7 @@ Rectangle { Timer { id: mouseTrackingDelayTimer - interval: Style.animationNormal + 50 // Wait for panel animation to complete + safety margin + interval: Style.animationNormal === 0 ? 0 : (Style.animationNormal + 50) // Wait for panel animation to complete + safety margin repeat: false onTriggered: { root.mouseTrackingReady = true;