extract shared PopupPanel for animated tray/power menus
This commit is contained in:
parent
77ce83462d
commit
b8ec39f2c9
6 changed files with 249 additions and 302 deletions
|
|
@ -27,7 +27,7 @@ M.BarIcon {
|
|||
sourceComponent: M.PowerMenu {
|
||||
screen: root.bar.screen
|
||||
anchorX: root.mapToGlobal(root.width / 2, 0).x - (QsWindow.window?.screen?.x ?? 0)
|
||||
onMenuClosed: menuLoader.active = false
|
||||
onDismissed: menuLoader.active = false
|
||||
onRunCommand: cmd => {
|
||||
runner.command = cmd;
|
||||
runner.running = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue