forked from Shinonome/dots-hyprland
add animation to cookie clock quote
This commit is contained in:
@@ -170,12 +170,17 @@ Item {
|
|||||||
radius: Appearance.rounding.small
|
radius: Appearance.rounding.small
|
||||||
color: Appearance.colors.colSecondaryContainer
|
color: Appearance.colors.colSecondaryContainer
|
||||||
|
|
||||||
|
Behavior on implicitHeight {
|
||||||
|
animation: Appearance.animation.elementResize.numberAnimation.createObject(this)
|
||||||
|
}
|
||||||
|
Behavior on opacity {
|
||||||
|
animation: Appearance.animation.elementMoveFast.numberAnimation.createObject(this)
|
||||||
|
}
|
||||||
|
|
||||||
RowLayout{
|
RowLayout{
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
spacing: 4
|
spacing: 4
|
||||||
Behavior on opacity {
|
|
||||||
animation: Appearance.animation.elementMoveFast.numberAnimation.createObject(this)
|
|
||||||
}
|
|
||||||
MaterialSymbol{
|
MaterialSymbol{
|
||||||
id: quoteIcon
|
id: quoteIcon
|
||||||
visible: showQuote > 0
|
visible: showQuote > 0
|
||||||
|
|||||||
Reference in New Issue
Block a user