From 737dd01c8de68909d44bec5a937c6d13c9ea69c2 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Tue, 7 Oct 2025 17:31:07 +0200 Subject: [PATCH] make MinuteHand not rely on cascading --- .../ii/modules/background/cookieClock/CookieClock.qml | 1 + .../ii/modules/background/cookieClock/MinuteHand.qml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.config/quickshell/ii/modules/background/cookieClock/CookieClock.qml b/.config/quickshell/ii/modules/background/cookieClock/CookieClock.qml index 22f654dd0..2f1a6198a 100644 --- a/.config/quickshell/ii/modules/background/cookieClock/CookieClock.qml +++ b/.config/quickshell/ii/modules/background/cookieClock/CookieClock.qml @@ -107,6 +107,7 @@ Item { MinuteHand { anchors.fill: parent handWidth: root.minuteHandWidth + handLength: root.minuteHandLength clockMinute: root.clockMinute style: Config.options.background.clock.cookie.minuteHandStyle color: root.colMinuteHand diff --git a/.config/quickshell/ii/modules/background/cookieClock/MinuteHand.qml b/.config/quickshell/ii/modules/background/cookieClock/MinuteHand.qml index dd80f5a4c..218f4c72a 100644 --- a/.config/quickshell/ii/modules/background/cookieClock/MinuteHand.qml +++ b/.config/quickshell/ii/modules/background/cookieClock/MinuteHand.qml @@ -13,6 +13,7 @@ Item { required property int clockMinute property real handWidth: 16 + property real handLength: 95 property string style: "medium" property color color: Appearance.colors.colSecondary @@ -34,7 +35,7 @@ Item { if (root.style === "classic") position -= 15; return position; } - width: minuteHandLength + width: root.handLength height: root.handWidth radius: root.style === "classic" ? 2 : root.handWidth / 2