From 1656e5c3556fafd388510cd6728e064c802d9e25 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 13 May 2025 17:06:21 +1000 Subject: osd: show on hover --- modules/osd/Wrapper.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/osd/Wrapper.qml') diff --git a/modules/osd/Wrapper.qml b/modules/osd/Wrapper.qml index e56fa2b..56479ad 100644 --- a/modules/osd/Wrapper.qml +++ b/modules/osd/Wrapper.qml @@ -7,6 +7,7 @@ Item { id: root required property ShellScreen screen + required property bool visibility visible: width > 0 implicitWidth: 0 @@ -14,7 +15,7 @@ Item { states: State { name: "visible" - when: Drawers.visibilities[root.screen].osd + when: root.visibility PropertyChanges { root.implicitWidth: content.width -- cgit v1.2.3-freya