fix x press bug on draged in images

This commit is contained in:
raphael 2019-01-14 14:11:05 +01:00
parent 702f853a11
commit ecd1d294c7

View File

@ -500,7 +500,7 @@ var whiteboard = {
'</div>'); '</div>');
imgDiv.find(".xCanvasBtn").click(function () { imgDiv.find(".xCanvasBtn").click(function () {
_this.imgDragActive = false; _this.imgDragActive = false;
this.refreshCursorAppearance(); _this.refreshCursorAppearance();
imgDiv.remove(); imgDiv.remove();
if(wasTextTool) { if(wasTextTool) {
_this.setTool("text"); _this.setTool("text");