'rect' date respects 'numbers' dial style position

This commit is contained in:
darksignal7
2025-10-08 20:10:21 +03:00
parent 5c29ac8d1e
commit 4fb7f7c1e7
2 changed files with 28 additions and 14 deletions
@@ -8,6 +8,25 @@ import QtQuick
Rectangle {
z: 1
readonly property string dialStyle: Config.options.background.clock.cookie.dialNumberStyle
property real animIndex: 0
opacity: animIndex
width: 45
height: 30
x: dialStyle === "numbers" ? 155 : 175
y: dialStyle === "numbers" ? 155 : 100
Behavior on x {
animation: Appearance.animation.elementMoveFast.numberAnimation.createObject(this)
}
Behavior on y {
animation: Appearance.animation.elementMoveFast.numberAnimation.createObject(this)
}
StyledText {
opacity: root.style === "rect" ? 1.0 : 0
Behavior on opacity {