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)
}