diff options
Diffstat (limited to 'modules/osd')
| -rw-r--r-- | modules/osd/Wrapper.qml | 3 |
1 files changed, 2 insertions, 1 deletions
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 |