better HDPI support

update packages
This commit is contained in:
Anton Lavrenov
2016-02-28 16:57:15 +08:00
parent 8b23ae64df
commit 3c1e2804de
21 changed files with 94 additions and 119 deletions

View File

@@ -293,10 +293,10 @@
maxY = Math.max(maxY, transformed.y);
});
return {
x: Math.round(minX),
y: Math.round(minY),
width: Math.round(maxX - minX),
height: Math.round(maxY - minY)
x: minX,
y: minY,
width: maxX - minX,
height: maxY - minY
};
},
_drawCachedSceneCanvas: function(context) {