mirror of
https://github.com/konvajs/konva.git
synced 2025-04-05 20:48:28 +08:00
Merge branch 'patch-1' of https://github.com/cactis/konva into cactis-patch-1
This commit is contained in:
commit
82c1de564f
2
konva.js
2
konva.js
@ -1162,7 +1162,7 @@ var Konva = {};
|
||||
var canvas = Konva.Util.createCanvasElement(),
|
||||
context = canvas.getContext('2d'),
|
||||
_pixelRatio = (function() {
|
||||
var devicePixelRatio = window.devicePixelRatio || 1,
|
||||
var devicePixelRatio = Konva.window.devicePixelRatio || 1,
|
||||
backingStoreRatio = context.webkitBackingStorePixelRatio
|
||||
|| context.mozBackingStorePixelRatio
|
||||
|| context.msBackingStorePixelRatio
|
||||
|
Loading…
Reference in New Issue
Block a user