launcher: fix open anim

Fixes #639
This commit is contained in:
2 * r + 2 * t 2025-09-18 13:30:49 +10:00
parent 94ab5bcbb8
commit 2f42377479

View file

@ -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();
}
}
}
}