summaryrefslogtreecommitdiff
path: root/modules/launcher/Wrapper.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-18 13:30:49 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-18 13:30:49 +1000
commit2f42377479025d27485461d732bc8b5b230ce8e8 (patch)
tree285a9d4c2d61a04865f419759f0b05923548b559 /modules/launcher/Wrapper.qml
parentidleinhibitor: completely hide window (diff)
downloadcaelestia-shell-2f42377479025d27485461d732bc8b5b230ce8e8.tar.gz
caelestia-shell-2f42377479025d27485461d732bc8b5b230ce8e8.tar.bz2
caelestia-shell-2f42377479025d27485461d732bc8b5b230ce8e8.zip
launcher: fix open anim
Fixes #639
Diffstat (limited to 'modules/launcher/Wrapper.qml')
-rw-r--r--modules/launcher/Wrapper.qml6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/launcher/Wrapper.qml b/modules/launcher/Wrapper.qml
index 3312d5a..d62d726 100644
--- a/modules/launcher/Wrapper.qml
+++ b/modules/launcher/Wrapper.qml
@@ -98,9 +98,13 @@ Item {
content.visible = false;
content.active = true;
} else {
- root.contentHeight = content.implicitHeight;
+ root.contentHeight = Math.min(root.maxHeight, content.implicitHeight);
content.active = Qt.binding(() => root.shouldBeActive || root.visible);
content.visible = true;
+ if (showAnim.running) {
+ showAnim.stop();
+ showAnim.start();
+ }
}
}
}