Skip to content

Commit a02f628

Browse files
committed
Deselect crop on draw to prevent accidentally extracting from only one
1 parent 273c582 commit a02f628

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/canvas.js

+1
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ function handleMouseMove(e) {
188188
}
189189

190190
function handleMouseUp(e) {
191+
MyAltTextOrg.canvas.discardActiveObject(null);
191192
MyAltTextOrg.crops.active.currRect = null
192193
MyAltTextOrg.crops.active.currRectStart = null
193194
}

0 commit comments

Comments
 (0)