diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-07-09 19:32:40 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-07-09 19:32:40 +1000 |
| commit | ec6e505bd1d988a59474cc8bdea796377153ab27 (patch) | |
| tree | b752fce9ff5a3fa3ba75913ac48214370c77d299 /modules/lock | |
| parent | internal: better anims (diff) | |
| download | caelestia-shell-ec6e505bd1d988a59474cc8bdea796377153ab27.tar.gz caelestia-shell-ec6e505bd1d988a59474cc8bdea796377153ab27.tar.bz2 caelestia-shell-ec6e505bd1d988a59474cc8bdea796377153ab27.zip | |
lock: fix notifs height on startup
For some reason they do not have the correct height, so use a timer to recalculate after a small delay
Diffstat (limited to 'modules/lock')
| -rw-r--r-- | modules/lock/Status.qml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/lock/Status.qml b/modules/lock/Status.qml index a803c76..a3a0cac 100644 --- a/modules/lock/Status.qml +++ b/modules/lock/Status.qml @@ -29,6 +29,12 @@ WrapperItem { rightMargin: 0 topMargin: 0 + Timer { + running: true + interval: 10 + onTriggered: notifs.countChanged() + } + Behavior on implicitWidth { Anim { duration: Appearance.anim.durations.large |