Merge pull request #292 from ckcz123/v2.0

Remove _list & Fix moveImage bug
This commit is contained in:
Zhang Chen authored and GitHub committed 2018-12-23 14:55:46 +08:00
commit af2062c013
1 file changed
+2 -2
+2 -2
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";
}
}