adding clear image in stopanimation

This commit is contained in:
Peli de Halleux 2016-09-14 07:54:35 -07:00
parent 167c1d8fce
commit 8a58d664c3

View File

@ -271,6 +271,7 @@ namespace pxsim.led {
export function stopAnimation(): void { export function stopAnimation(): void {
board().ledMatrixState.animationQ.cancelAll(); board().ledMatrixState.animationQ.cancelAll();
board().ledMatrixState.image.clear();
} }
export function setDisplayMode(mode: DisplayMode): void { export function setDisplayMode(mode: DisplayMode): void {