diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-25 16:44:53 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-25 16:44:53 +1000 |
| commit | 8028deb62a4628fadd6f376d69cff97b9c80faa7 (patch) | |
| tree | 845e6da31461843e731686ddf490d1e4624475e1 /modules/lock | |
| parent | lock: shrink media if small screen (diff) | |
| download | caelestia-shell-8028deb62a4628fadd6f376d69cff97b9c80faa7.tar.gz caelestia-shell-8028deb62a4628fadd6f376d69cff97b9c80faa7.tar.bz2 caelestia-shell-8028deb62a4628fadd6f376d69cff97b9c80faa7.zip | |
lock: increase large screen size
Also move to config
Diffstat (limited to 'modules/lock')
| -rw-r--r-- | modules/lock/LockSurface.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/lock/LockSurface.qml b/modules/lock/LockSurface.qml index 87f9cb0..423d29d 100644 --- a/modules/lock/LockSurface.qml +++ b/modules/lock/LockSurface.qml @@ -71,7 +71,7 @@ WlSessionLockSurface { locked: root.locked weatherWidth: weather.implicitWidth - isLarge: root.screen.width > 1920 + isLarge: root.screen.width > Config.lock.sizes.largeScreenWidth visible: false } @@ -111,7 +111,7 @@ WlSessionLockSurface { MediaPlaying { id: media - isLarge: root.screen.width > 1920 + isLarge: root.screen.width > Config.lock.sizes.largeScreenWidth state: isLarge ? "tl" : "br" states: [ |