Commit 735acb3b authored by SergeyLuzyanin's avatar SergeyLuzyanin

send sizes on event asc_onSignatureClick

parent 94390573
...@@ -690,7 +690,7 @@ function handleInlineHitNoText(drawing, drawingObjects, e, x, y, pageIndex, bInS ...@@ -690,7 +690,7 @@ function handleInlineHitNoText(drawing, drawingObjects, e, x, y, pageIndex, bInS
drawingObjects.handleOleObjectDoubleClick(drawing.parent, drawing, e, x, y, pageIndex); drawingObjects.handleOleObjectDoubleClick(drawing.parent, drawing, e, x, y, pageIndex);
} }
else if (drawing.signatureLine && drawingObjects.handleSignatureDblClick){ else if (drawing.signatureLine && drawingObjects.handleSignatureDblClick){
drawingObjects.handleSignatureDblClick(drawing.signatureLine.id); drawingObjects.handleSignatureDblClick(drawing.signatureLine.id, drawing.extX, drawing.extY);
} }
else if (2 == e.ClickCount && drawing.parent instanceof ParaDrawing && drawing.parent.Is_MathEquation()) else if (2 == e.ClickCount && drawing.parent instanceof ParaDrawing && drawing.parent.Is_MathEquation())
drawingObjects.handleMathDrawingDoubleClick(drawing.parent, e, x, y, pageIndex); drawingObjects.handleMathDrawingDoubleClick(drawing.parent, e, x, y, pageIndex);
......
...@@ -1301,8 +1301,8 @@ CGraphicObjects.prototype = ...@@ -1301,8 +1301,8 @@ CGraphicObjects.prototype =
this.document.OnMouseUp(e, x, y, pageIndex); this.document.OnMouseUp(e, x, y, pageIndex);
}, },
handleSignatureDblClick: function(sGuid){ handleSignatureDblClick: function(sGuid, width, height){
editor.sendEvent("asc_onSignatureClick", sGuid); editor.sendEvent("asc_onSignatureClick", sGuid, width, height);
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment