From 6455f6c719a6e93502433ee4f4f1cda8036c348d Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 25 Jun 2025 21:43:25 +1000 Subject: lock: fix rounding Fix rounding on status and buttons --- modules/lock/Backgrounds.qml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'modules/lock') 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 { -- cgit v1.2.3-freya