From 8a58d664c3d2055ffd239769c1f0e57bd42f7b58 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Wed, 14 Sep 2016 07:54:35 -0700 Subject: [PATCH] adding clear image in stopanimation --- sim/state/ledmatrix.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/sim/state/ledmatrix.ts b/sim/state/ledmatrix.ts index 91909b0b..403f5c8e 100644 --- a/sim/state/ledmatrix.ts +++ b/sim/state/ledmatrix.ts @@ -271,6 +271,7 @@ namespace pxsim.led { export function stopAnimation(): void { board().ledMatrixState.animationQ.cancelAll(); + board().ledMatrixState.image.clear(); } export function setDisplayMode(mode: DisplayMode): void {