seperate waveAnimation from the materialCookie component

This commit is contained in:
darksignal7
2025-10-05 16:49:47 +03:00
parent ab54a24434
commit 0f7f7d997b
3 changed files with 6 additions and 5 deletions
@@ -94,7 +94,7 @@ Item {
amplitude: implicitSize / 70 amplitude: implicitSize / 70
sides: Config.options.background.clock.clockSides sides: Config.options.background.clock.clockSides
color: root.colBackground color: root.colBackground
waveAnimation: Config.options.background.clock.cookie.waveAnimation
} }
@@ -491,6 +491,7 @@ Item {
} }
// Quote // Quote
Rectangle{ Rectangle{
id: quoteBox id: quoteBox
@@ -502,7 +503,8 @@ Item {
implicitHeight: showQuote ? quoteText.height + 8 : 0 implicitHeight: showQuote ? quoteText.height + 8 : 0
radius: Appearance.rounding.small radius: Appearance.rounding.small
color: Appearance.colors.colSecondaryContainer color: Appearance.colors.colSecondaryContainer
Behavior on implicitHeight { Behavior on implicitHeight {
animation: Appearance.animation.elementResize.numberAnimation.createObject(this) animation: Appearance.animation.elementResize.numberAnimation.createObject(this)
} }
@@ -14,8 +14,7 @@ Item {
property int renderPoints: 360 property int renderPoints: 360
property color color: "#605790" property color color: "#605790"
property alias strokeWidth: shapePath.strokeWidth property alias strokeWidth: shapePath.strokeWidth
property bool waveAnimation: false
property bool waveAnimation: Config.options.background.clock.cookie.waveAnimation
implicitWidth: implicitSize implicitWidth: implicitSize
@@ -270,7 +270,7 @@ ContentPage {
Config.options.background.clock.cookie.centerGlow = checked; Config.options.background.clock.cookie.centerGlow = checked;
} }
StyledToolTip { StyledToolTip {
text: "Can only be turned on using the 'Dots' dial style for aesthetic reasons" text: "Can only be turned on using the 'Dots' or 'Full' dial style for aesthetic reasons"
} }
} }