forked from Shinonome/dots-hyprland
cookie clock: fix jagged rotating date
This commit is contained in:
@@ -30,7 +30,7 @@ Item {
|
|||||||
Repeater {
|
Repeater {
|
||||||
model: root.dateText.length
|
model: root.dateText.length
|
||||||
|
|
||||||
delegate: StyledText {
|
delegate: Text {
|
||||||
required property int index
|
required property int index
|
||||||
property real angle: index * root.angleStep - Math.PI / 2
|
property real angle: index * root.angleStep - Math.PI / 2
|
||||||
x: root.width / 2 + root.radius * Math.cos(angle) - width / 2
|
x: root.width / 2 + root.radius * Math.cos(angle) - width / 2
|
||||||
|
|||||||
Reference in New Issue
Block a user