diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-25 21:43:25 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-25 21:43:25 +1000 |
| commit | 6455f6c719a6e93502433ee4f4f1cda8036c348d (patch) | |
| tree | cdd32fac71f0dd38c00f352ac7b8e7c8552136e2 /modules/lock/Backgrounds.qml | |
| parent | lock: add notifs and status (diff) | |
| download | caelestia-shell-6455f6c719a6e93502433ee4f4f1cda8036c348d.tar.gz caelestia-shell-6455f6c719a6e93502433ee4f4f1cda8036c348d.tar.bz2 caelestia-shell-6455f6c719a6e93502433ee4f4f1cda8036c348d.zip | |
lock: fix rounding
Fix rounding on status and buttons
Diffstat (limited to 'modules/lock/Backgrounds.qml')
| -rw-r--r-- | modules/lock/Backgrounds.qml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/lock/Backgrounds.qml b/modules/lock/Backgrounds.qml index b02d2a3..45d15d0 100644 --- a/modules/lock/Backgrounds.qml +++ b/modules/lock/Backgrounds.qml @@ -354,13 +354,13 @@ Item { fillColor: root.isLarge ? Config.border.colour : "transparent" startX: Math.ceil(innerMask.width) - startY: Math.ceil(innerMask.height) - height - roundingY + startY: Math.ceil(innerMask.height) - height - rounding PathArc { relativeX: -buttonsPath.roundingX - relativeY: buttonsPath.roundingY + relativeY: buttonsPath.rounding radiusX: Math.min(buttonsPath.rounding, buttonsPath.width) - radiusY: Math.min(buttonsPath.rounding, buttonsPath.height) + radiusY: buttonsPath.rounding, buttonsPath.height } PathLine { relativeX: -(buttonsPath.width - buttonsPath.roundingX * 2) @@ -419,13 +419,13 @@ Item { fillColor: root.isLarge ? Config.border.colour : "transparent" startX: Math.ceil(innerMask.width) - startY: height + roundingY + startY: height + rounding PathArc { relativeX: -statusPath.roundingX - relativeY: -statusPath.roundingY + relativeY: -statusPath.rounding radiusX: Math.min(statusPath.rounding, statusPath.width) - radiusY: Math.min(statusPath.rounding, statusPath.height) + radiusY: statusPath.rounding direction: PathArc.Counterclockwise } PathLine { |