mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
fix(launcher): skip delay when animations disabled
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user