From 2858eb2d27408d7a150585bf0f68ef332fe0a003 Mon Sep 17 00:00:00 2001 From: Gator Date: Wed, 21 Dec 2022 23:53:27 +0100 Subject: [PATCH] function call typo --- src/components/CanvasBoard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/CanvasBoard.vue b/src/components/CanvasBoard.vue index b66199c..8d1c16b 100644 --- a/src/components/CanvasBoard.vue +++ b/src/components/CanvasBoard.vue @@ -165,7 +165,7 @@ // draw 2d automaton from the last known generated board const draw2dLast = async () => { if (!store.canDraw) return; - if (store.loop) return store.draw2dNext(store.lastBoard); + if (store.loop) return draw2dNext(store.lastBoard); else draw2d(store.lastBoard); store.toggleStop(); };