use window popup type to allow menu outside of parent window

This commit is contained in:
Benjamin Palko 2025-09-01 13:31:49 -04:00
parent a40f7666dc
commit 37dfd1255a

View file

@ -1,4 +1,5 @@
import qs.config
import qs.services
import QtQuick
import QtQuick.Controls
@ -10,6 +11,11 @@ Menu {
focus: true
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutsideParent
popupType: Popup.Window
function toggle() {
visible ? close() : open();
}
enter: Transition {
NumberAnimation {