summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-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();
+ }
}
}
}