updated clear() function

This commit is contained in:
Paul Lecuq 2021-09-29 09:53:54 +02:00
parent 3ac1d3eb54
commit 0976a71057

View File

@ -97,7 +97,7 @@ fn _effect(canvas: &mut CanvasLayout, poller: &mut CanvasLayoutPoller) {
fn clear(canvas: &mut CanvasLayout) { fn clear(canvas: &mut CanvasLayout) {
for a in 0..8 { for a in 0..8 {
for b in 0..8 { for b in 0..9 {
canvas[Pad { x: a, y: b }] = Color { canvas[Pad { x: a, y: b }] = Color {
r: 0f32, r: 0f32,
g: 0f32, g: 0f32,