From 28756860aae2cbba7bd50635980a54c334fa542e Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Tue, 14 Oct 2025 09:29:41 +0200 Subject: [PATCH] cookie clock: fix bubble date's bubbles being the same --- .../background/cookieClock/dateIndicator/BubbleDate.qml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.config/quickshell/ii/modules/background/cookieClock/dateIndicator/BubbleDate.qml b/.config/quickshell/ii/modules/background/cookieClock/dateIndicator/BubbleDate.qml index c0f072895..35659e4fc 100644 --- a/.config/quickshell/ii/modules/background/cookieClock/dateIndicator/BubbleDate.qml +++ b/.config/quickshell/ii/modules/background/cookieClock/dateIndicator/BubbleDate.qml @@ -6,11 +6,12 @@ import qs.modules.common.widgets import QtQuick Item { + id: root property bool isMonth: false property real targetSize: 0 property alias text: bubbleText.text - text: Qt.locale().toString(DateTime.clock.date, isMonth ? "MM" : "d") + text: Qt.locale().toString(DateTime.clock.date, root.isMonth ? "MM" : "d") MaterialCookie { z: 5 @@ -26,14 +27,10 @@ Item { z: 6 anchors.centerIn: parent color: root.isMonth ? Appearance.colors.colPrimary : Appearance.colors.colTertiary - opacity: root.style === "bubble" ? 1 : 0 font { family: Appearance.font.family.expressive pixelSize: 30 weight: Font.Black } - Behavior on opacity { - animation: Appearance.animation.elementMoveFast.numberAnimation.createObject(this) - } } } \ No newline at end of file