diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-13 17:06:21 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-13 17:06:21 +1000 |
| commit | 1656e5c3556fafd388510cd6728e064c802d9e25 (patch) | |
| tree | 701523457f71370a97ec952f2fd75e2ef266a4be /modules/osd | |
| parent | refactor: move to single window (diff) | |
| download | caelestia-shell-1656e5c3556fafd388510cd6728e064c802d9e25.tar.gz caelestia-shell-1656e5c3556fafd388510cd6728e064c802d9e25.tar.bz2 caelestia-shell-1656e5c3556fafd388510cd6728e064c802d9e25.zip | |
osd: show on hover
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 |