remove overflow

This commit is contained in:
0m.ax 2025-07-19 03:20:32 +02:00
parent 7316805ad7
commit 3a957a1c20

View file

@ -194,7 +194,7 @@ impl Drawable for Circle {
};
let rgb: color::Rgb = hsv_color.into();
let radius = tick % 128;
let radius = tick % (1080/2);
self.draw_circle(display,self.x,self.y,radius.try_into().unwrap(),rgb.r,rgb.g,rgb.b);
}
}