diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-22 22:51:23 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-22 22:51:23 +1000 |
| commit | ac216cdbdb3045de18b56e88aac32491adcf2ab9 (patch) | |
| tree | 3a447bde846d0abf584248c187d64b9b7601cc77 /modules | |
| parent | dashboard: better vertical spacing for media (diff) | |
| download | caelestia-shell-ac216cdbdb3045de18b56e88aac32491adcf2ab9.tar.gz caelestia-shell-ac216cdbdb3045de18b56e88aac32491adcf2ab9.tar.bz2 caelestia-shell-ac216cdbdb3045de18b56e88aac32491adcf2ab9.zip | |
lock: static border
Not percentage + equal on all sides
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/lock/Backgrounds.qml | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/lock/Backgrounds.qml b/modules/lock/Backgrounds.qml index 78a4799..15836b5 100644 --- a/modules/lock/Backgrounds.qml +++ b/modules/lock/Backgrounds.qml @@ -34,9 +34,7 @@ Item { id: innerMask anchors.fill: parent - anchors.margins: root.locked ? root.height * Config.lock.sizes.border : 0 - anchors.leftMargin: root.locked ? root.width * Config.lock.sizes.border : 0 - anchors.rightMargin: root.locked ? root.width * Config.lock.sizes.border : 0 + anchors.margins: root.locked ? Config.lock.sizes.border : 0 radius: Appearance.rounding.large * 2 @@ -67,8 +65,6 @@ Item { Shape { anchors.fill: parent anchors.margins: Math.floor(innerMask.anchors.margins) - anchors.leftMargin: innerMask.anchors.leftMargin - anchors.rightMargin: innerMask.anchors.rightMargin preferredRendererType: Shape.CurveRenderer |