This commit is contained in:
0m.ax 2025-07-19 03:04:02 +02:00
parent 85b30baabc
commit bccb1be2d4

View file

@ -190,7 +190,7 @@ impl Drawable for Circle {
/// Helper method to draw the 8 symmetric points for a given (x, y) offset.
fn draw_and_move(&mut self, display: &mut Display) {
let hsv_color = color::Hsv {
h: self.radius%360,
h: (self.radius%360).try_into().unwrap(),
s: 1.0,
v: 1.0,
};