mirror of
https://github.com/kossLAN/dots.git
synced 2025-11-05 06:59:50 -05:00
bar/popops: fix menu window anims and positioning
This commit is contained in:
parent
d71aafd91b
commit
95cc1b4c44
3 changed files with 107 additions and 97 deletions
|
|
@ -31,7 +31,14 @@ RowLayout {
|
|||
onClicked: {
|
||||
// trayText.width = sysTrayContent.width - trayIcon.width - trayContainer.spacing;
|
||||
// trayText.visible = true;
|
||||
// root.popup.set(this, trayMenu);
|
||||
if (root.popup.content == trayMenu) {
|
||||
root.popup.toggle()
|
||||
return;
|
||||
}
|
||||
|
||||
root.popup.set(this, trayMenu);
|
||||
root.popup.show();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue