From 31cd7df52f7fc7aa70ecf68ba6d2b3860a6b18de Mon Sep 17 00:00:00 2001 From: Julian Freeman Date: Mon, 2 Mar 2026 12:40:07 -0400 Subject: [PATCH] adjust legs length --- src/main.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; } }