focus and transition

This commit is contained in:
Benjamin Palko 2025-08-31 20:39:16 -04:00
parent f1e15b427c
commit 2f575bc541

View file

@ -8,5 +8,21 @@ Menu {
palette.window: Theme.palette.base100
palette.base: Theme.palette.base100
focus: true
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutsideParent
enter: Transition {
NumberAnimation {
property: "opacity"
from: 0.0
to: 1.0
}
}
exit: Transition {
NumberAnimation {
property: "opacity"
from: 1.0
to: 0.0
}
}
}