Merge pull request #292 from ckcz123/v2.0

Remove _list & Fix moveImage bug
This commit is contained in:
Zhang Chen 2018-12-23 14:55:46 +08:00 committed by GitHub
commit af2062c013
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3173,7 +3173,7 @@ control.prototype.domRenderer = function(){
var ctx = core.dymCanvas[name], canvas = ctx.canvas;
canvas.style.width = canvas.width * core.domStyle.scale + "px";
canvas.style.height = canvas.height * core.domStyle.scale + "px";
canvas.style.left = parseFloat(canvas.getAttribute("_left")) * core.domStyle + "px";
canvas.style.top = parseFloat(canvas.getAttribute("_top")) * core.domStyle + "px";
canvas.style.left = parseFloat(canvas.getAttribute("_left")) * core.domStyle.scale + "px";
canvas.style.top = parseFloat(canvas.getAttribute("_top")) * core.domStyle.scale + "px";
}
}