mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-08 13:54:43 +00:00
Update object.class.js
This commit is contained in:
parent
873abee422
commit
bd345a39d5
1 changed files with 1 additions and 1 deletions
|
|
@ -1109,7 +1109,7 @@
|
|||
|
||||
var multX = (this.canvas && this.canvas.viewportTransform[0]) || 1,
|
||||
multY = (this.canvas && this.canvas.viewportTransform[3]) || 1;
|
||||
if (this._isRetinaScaling()) {
|
||||
if (this.canvas && this.canvas.isRetinaScaling()) {
|
||||
multX *= fabric.devicePixelRatio;
|
||||
multY *= fabric.devicePixelRatio;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue