mirror of
https://github.com/konvajs/konva.git
synced 2025-12-17 09:54:56 +08:00
better HDPI support
update packages
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user