From 3e8b7240ad18e747b372a046747fee6a4812677a Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 6 May 2025 23:49:28 +1000 Subject: popouts: use reals for rounding So it looks better --- modules/osd/Background.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/osd') diff --git a/modules/osd/Background.qml b/modules/osd/Background.qml index 6144117..57b1a86 100644 --- a/modules/osd/Background.qml +++ b/modules/osd/Background.qml @@ -8,8 +8,8 @@ Shape { required property real realWrapperWidth required property real wrapperHeight - readonly property int rounding: BorderConfig.rounding - readonly property int roundingX: Math.min(rounding, realWrapperWidth / 2) + readonly property real rounding: BorderConfig.rounding + readonly property real roundingX: Math.min(rounding, realWrapperWidth / 2) readonly property real wrapperWidth: realWrapperWidth - 1 // Pixel issues :sob: preferredRendererType: Shape.CurveRenderer -- cgit v1.2.3-freya