mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Merge branch 'noctalia-dev:main' into feat/configurable-exclusion-zone
This commit is contained in:
@@ -72,6 +72,8 @@ Item {
|
||||
property bool cachedAnimateFromBottom: false
|
||||
property bool cachedAnimateFromLeft: false
|
||||
property bool cachedAnimateFromRight: false
|
||||
|
||||
readonly property bool animationsDisabled: Settings.data.general.animationDisabled
|
||||
property bool cachedShouldAnimateWidth: false
|
||||
property bool cachedShouldAnimateHeight: false
|
||||
|
||||
@@ -1312,7 +1314,13 @@ Item {
|
||||
|
||||
// Make panel visible, now only the intended dimension will animate
|
||||
root.isPanelVisible = true;
|
||||
opacityTrigger.start();
|
||||
|
||||
if (root.animationsDisabled) {
|
||||
// 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