remove overflow
This commit is contained in:
parent
7316805ad7
commit
3a957a1c20
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue