Commit 11b1d98e authored by Oleg Korshul's avatar Oleg Korshul

.

parent 441584da
...@@ -2891,14 +2891,14 @@ ...@@ -2891,14 +2891,14 @@
_drawer.ImageHtml.onload = function() _drawer.ImageHtml.onload = function()
{ {
var _drawer = window.Asc.g_signature_drawer; var _drawer = window.Asc.g_signature_drawer;
var _w = _drawer.Canvas.width; var w = _drawer.Canvas.width;
var _h = _drawer.Canvas.heigth; var h = _drawer.Canvas.height;
var _ctx = _drawer.Canvas.getContext("2d"); var _ctx = _drawer.Canvas.getContext("2d");
_ctx.clearRect(0, 0, w, h); _ctx.clearRect(0, 0, w, h);
_ctx.drawImage(this, 0, 0, w, h); _ctx.drawImage(this, 0, 0, w, h);
_drawer = null; _drawer = null;
}; };
_drawer.ImageHtml = _drawer.Image; _drawer.ImageHtml.src = _drawer.Image;
_drawer = null; _drawer = null;
}; };
window["AscDesktopEditor"]["OpenFilenameDialog"]("filter"); window["AscDesktopEditor"]["OpenFilenameDialog"]("filter");
......
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