adjust legs length
This commit is contained in:
@@ -184,8 +184,8 @@ slint::slint! {
|
|||||||
stroke-width: root.clock_size * 0.017;
|
stroke-width: root.clock_size * 0.017;
|
||||||
MoveTo { x: 50; y: 50; }
|
MoveTo { x: 50; y: 50; }
|
||||||
LineTo {
|
LineTo {
|
||||||
x: 50 + Math.sin(root.hour * 1deg) * 25;
|
x: 50 + Math.sin(root.hour * 1deg) * 22;
|
||||||
y: 50 - Math.cos(root.hour * 1deg) * 25;
|
y: 50 - Math.cos(root.hour * 1deg) * 22;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -196,8 +196,8 @@ slint::slint! {
|
|||||||
stroke-width: root.clock_size * 0.012;
|
stroke-width: root.clock_size * 0.012;
|
||||||
MoveTo { x: 50; y: 50; }
|
MoveTo { x: 50; y: 50; }
|
||||||
LineTo {
|
LineTo {
|
||||||
x: 50 + Math.sin(root.minute * 1deg) * 38;
|
x: 50 + Math.sin(root.minute * 1deg) * 32;
|
||||||
y: 50 - Math.cos(root.minute * 1deg) * 38;
|
y: 50 - Math.cos(root.minute * 1deg) * 32;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user