updated clear() function
This commit is contained in:
parent
3ac1d3eb54
commit
0976a71057
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user