adjust legs length

This commit is contained in:
Julian Freeman
2026-03-02 12:40:07 -04:00
parent e4a636a115
commit 31cd7df52f

View File

@@ -184,8 +184,8 @@ slint::slint! {
stroke-width: root.clock_size * 0.017;
MoveTo { x: 50; y: 50; }
LineTo {
x: 50 + Math.sin(root.hour * 1deg) * 25;
y: 50 - Math.cos(root.hour * 1deg) * 25;
x: 50 + Math.sin(root.hour * 1deg) * 22;
y: 50 - Math.cos(root.hour * 1deg) * 22;
}
}
@@ -196,8 +196,8 @@ slint::slint! {
stroke-width: root.clock_size * 0.012;
MoveTo { x: 50; y: 50; }
LineTo {
x: 50 + Math.sin(root.minute * 1deg) * 38;
y: 50 - Math.cos(root.minute * 1deg) * 38;
x: 50 + Math.sin(root.minute * 1deg) * 32;
y: 50 - Math.cos(root.minute * 1deg) * 32;
}
}