Cancel draw tool when clicked outside a canvas
This commit is contained in:
parent
619e717b5a
commit
bb047a2e94
@ -111,6 +111,7 @@ $("#page-canvas-container").on("click", ".page-canvas", function (evt) {
|
||||
|
||||
$("body").on("click", "#page-canvas-container", function (evt) {
|
||||
$("#page-canvas-container .page-canvas").removeClass("active");
|
||||
disableGuideBox();
|
||||
});
|
||||
|
||||
$("#page-canvas-container").on("click", ".page-canvas.active", function (evt) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user