forked from Shinonome/dots-hyprland
seperate waveAnimation from the materialCookie component
This commit is contained in:
@@ -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
|
||||||
@@ -503,6 +504,7 @@ Item {
|
|||||||
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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user