remove scuffed popup handling
This commit is contained in:
parent
0405dc3414
commit
fdcaa77581
2 changed files with 54 additions and 69 deletions
|
|
@ -1,6 +1,5 @@
|
|||
pragma Singleton
|
||||
|
||||
import qs.components
|
||||
import Quickshell
|
||||
|
||||
Singleton {
|
||||
|
|
@ -9,15 +8,6 @@ Singleton {
|
|||
property alias pomodoro: properties.pomodoro
|
||||
property alias powermenu: properties.powermenu
|
||||
property alias storybook: properties.storybook
|
||||
property StyledPopupWindow activePopup
|
||||
|
||||
function togglePopup(popup: StyledPopupWindow) {
|
||||
if (activePopup && popup != activePopup) {
|
||||
activePopup.state = "";
|
||||
}
|
||||
popup.state = popup.state == "opened" ? "" : "opened";
|
||||
activePopup = popup;
|
||||
}
|
||||
|
||||
PersistentProperties {
|
||||
id: properties
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue