Skip to content

Commit

Permalink
use render fn in clearCanvas
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddenist authored Dec 11, 2023
1 parent e26167c commit 6da204e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/drawing-engine/src/engine/DrawingEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export class DrawingEngine {
this.savedDrawingLayer.clear()
this.activeDrawingLayer.clear()
this.clearCurrent()
this.program.draw(this.activeDrawingLayer, this.savedDrawingLayer)
this.render()

this.callListeners("clear", undefined)
}
Expand Down

0 comments on commit 6da204e

Please sign in to comment.