Skip to content

Commit b7f39ef

Browse files
committed
Update
1 parent 3640943 commit b7f39ef

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/after.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,8 @@ const context = new DrawingContextUI('.js-context')
1111
tools.subscribe(selectedTool => {
1212
const tool = factory.getTool(selectedTool)
1313
board.changeTool(tool)
14+
})
15+
16+
tools.subscribe(selectedTool => {
1417
context.updateContext(selectedTool)
1518
})

0 commit comments

Comments
 (0)