From 0976a7105784146d585431136037fadf585918dd Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Wed, 29 Sep 2021 09:53:54 +0200 Subject: [PATCH] updated clear() function --- src/padcontrol/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/padcontrol/mod.rs b/src/padcontrol/mod.rs index 4d06fd7..b7edc9a 100644 --- a/src/padcontrol/mod.rs +++ b/src/padcontrol/mod.rs @@ -97,7 +97,7 @@ fn _effect(canvas: &mut CanvasLayout, poller: &mut CanvasLayoutPoller) { fn clear(canvas: &mut CanvasLayout) { for a in 0..8 { - for b in 0..8 { + for b in 0..9 { canvas[Pad { x: a, y: b }] = Color { r: 0f32, g: 0f32,