forked from Shinonome/dots-hyprland
change classic minuteHand anim
This commit is contained in:
@@ -50,8 +50,8 @@ Item {
|
|||||||
Rectangle {
|
Rectangle {
|
||||||
// Dot on the classic style
|
// Dot on the classic style
|
||||||
opacity: root.style === "classic" ? 1.0 : 0.0
|
opacity: root.style === "classic" ? 1.0 : 0.0
|
||||||
implicitHeight: 14
|
implicitHeight: root.style === "classic" ? 14 : 0
|
||||||
implicitWidth: 14
|
implicitWidth: root.style === "classic" ? 14 : 0
|
||||||
color: root.color
|
color: root.color
|
||||||
radius: Appearance.rounding.small
|
radius: Appearance.rounding.small
|
||||||
anchors {
|
anchors {
|
||||||
@@ -62,5 +62,11 @@ Item {
|
|||||||
Behavior on opacity {
|
Behavior on opacity {
|
||||||
animation: Appearance.animation.elementMoveFast.numberAnimation.createObject(this)
|
animation: Appearance.animation.elementMoveFast.numberAnimation.createObject(this)
|
||||||
}
|
}
|
||||||
|
Behavior on implicitHeight {
|
||||||
|
animation: Appearance.animation.elementResize.numberAnimation.createObject(this)
|
||||||
|
}
|
||||||
|
Behavior on implicitWidth {
|
||||||
|
animation: Appearance.animation.elementResize.numberAnimation.createObject(this)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user