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
drawingObjects.handleOleObjectDoubleClick(drawing.parent, drawing, e, x, y, pageIndex);
}
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())
drawingObjects.handleMathDrawingDoubleClick(drawing.parent, e, x, y, pageIndex);
......
......@@ -1301,8 +1301,8 @@ CGraphicObjects.prototype =
this.document.OnMouseUp(e, x, y, pageIndex);
},
handleSignatureDblClick: function(sGuid){
editor.sendEvent("asc_onSignatureClick", sGuid);
handleSignatureDblClick: function(sGuid, width, height){
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