diff --git a/src/main.rs b/src/main.rs index 405f64d..6654266 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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; } }