diff --git a/src/components/CanvasBoard.vue b/src/components/CanvasBoard.vue index cff9adb..1eedb8f 100644 --- a/src/components/CanvasBoard.vue +++ b/src/components/CanvasBoard.vue @@ -164,13 +164,14 @@ ); const newBoard = picToBoard(resized.data, store.board); store.board.grid = Object.freeze(newBoard); + store.toggleStop(); }; const reset = () => { store.toggleStop(); store.board.grid = null; store.renderer.reset(); - store.reset = false; + store.toggleReset(); };