Skip to content

Commit

Permalink
[annotations] Fix empty brush case
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanBldy committed Jan 11, 2023
1 parent b5e06d2 commit 10d1e9b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/previews/PreviewPlayer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -957,6 +957,11 @@ export default {
width: width,
height: height
})
if (!this.fabricCanvas.freeDrawingBrush) {
this.fabricCanvas.freeDrawingBrush = new fabric.PencilBrush(
this.fabricCanvas
)
}
this.configureCanvas()
},
Expand Down

0 comments on commit 10d1e9b

Please sign in to comment.