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
sides: Config.options.background.clock.clockSides
color: root.colBackground
waveAnimation: Config.options.background.clock.cookie.waveAnimation
}
@@ -491,6 +491,7 @@ Item {
}
// Quote
Rectangle{
id: quoteBox
@@ -502,7 +503,8 @@ Item {
implicitHeight: showQuote ? quoteText.height + 8 : 0
radius: Appearance.rounding.small
color: Appearance.colors.colSecondaryContainer
Behavior on implicitHeight {
animation: Appearance.animation.elementResize.numberAnimation.createObject(this)
}
@@ -14,8 +14,7 @@ Item {
property int renderPoints: 360
property color color: "#605790"
property alias strokeWidth: shapePath.strokeWidth
property bool waveAnimation: Config.options.background.clock.cookie.waveAnimation
property bool waveAnimation: false
implicitWidth: implicitSize
@@ -270,7 +270,7 @@ ContentPage {
Config.options.background.clock.cookie.centerGlow = checked;
}
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"
}
}