summaryrefslogtreecommitdiff
path: root/modules/drawers
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-26 22:32:25 +0800
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-26 22:32:25 +0800
commitf305c3f3f64befbd92c92f5ced43dfa9ced3d309 (patch)
tree25196e307bed97607e12508b29b27caa197204b4 /modules/drawers
parentdashboard: fix tab indicator animation (diff)
downloadcaelestia-shell-f305c3f3f64befbd92c92f5ced43dfa9ced3d309.tar.gz
caelestia-shell-f305c3f3f64befbd92c92f5ced43dfa9ced3d309.tar.bz2
caelestia-shell-f305c3f3f64befbd92c92f5ced43dfa9ced3d309.zip
notifs: better height
Get blocked by other panels from the right side (osd and session) Limit max height to screen height
Diffstat (limited to 'modules/drawers')
-rw-r--r--modules/drawers/Panels.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/drawers/Panels.qml b/modules/drawers/Panels.qml
index 9bde4b2..db97362 100644
--- a/modules/drawers/Panels.qml
+++ b/modules/drawers/Panels.qml
@@ -1,3 +1,4 @@
+import "root:/services"
import "root:/config"
import "root:/modules/osd" as Osd
import "root:/modules/notifications" as Notifications
@@ -22,6 +23,8 @@ Item {
anchors.fill: parent
anchors.margins: BorderConfig.thickness
+ Component.onCompleted: Visibilities.panels[screen] = this
+
Osd.Wrapper {
id: osd