diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-18 13:30:49 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-18 13:30:49 +1000 |
| commit | 2f42377479025d27485461d732bc8b5b230ce8e8 (patch) | |
| tree | 285a9d4c2d61a04865f419759f0b05923548b559 /modules | |
| parent | idleinhibitor: completely hide window (diff) | |
| download | caelestia-shell-2f42377479025d27485461d732bc8b5b230ce8e8.tar.gz caelestia-shell-2f42377479025d27485461d732bc8b5b230ce8e8.tar.bz2 caelestia-shell-2f42377479025d27485461d732bc8b5b230ce8e8.zip | |
launcher: fix open anim
Fixes #639
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/launcher/Wrapper.qml | 6 |
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(); + } } } } |