Dimmer: new implementation of the screen diming in a separate component.

This commit is contained in:
LemmyCook 2025-09-16 21:35:27 -04:00
parent eb26aa10f7
commit 6f1ae43d62
4 changed files with 96 additions and 2 deletions

View file

@ -16,6 +16,9 @@ Singleton {
property var registeredPanels: ({})
signal willOpen
signal willClose
// Register this panel
function registerPanel(panel) {
registeredPanels[panel.objectName] = panel
@ -38,6 +41,14 @@ Singleton {
openedPanel.close()
}
openedPanel = panel
// emit signal
willOpen()
}
function willClosePanel(panel) {
// emit signal
willClose()
}
function closedPanel(panel) {