mirror of
https://github.com/konvajs/konva.git
synced 2025-10-15 12:34:52 +08:00
update CHANGELOG with new version
This commit is contained in:
@@ -13,7 +13,7 @@ function getDevicePixelRatio() {
|
||||
var canvas = Util.createCanvasElement();
|
||||
var context = canvas.getContext('2d') as any;
|
||||
_pixelRatio = (function() {
|
||||
var devicePixelRatio = glob.window.devicePixelRatio || 1,
|
||||
var devicePixelRatio = Konva._global.devicePixelRatio || 1,
|
||||
backingStoreRatio =
|
||||
context.webkitBackingStorePixelRatio ||
|
||||
context.mozBackingStorePixelRatio ||
|
||||
|
@@ -87,6 +87,7 @@ export const glob: any =
|
||||
: {};
|
||||
|
||||
export const Konva = {
|
||||
_global: glob,
|
||||
version: '@@version',
|
||||
isBrowser: detectBrowser(),
|
||||
isUnminified: /param/.test(function(param) {}.toString()),
|
||||
|
Reference in New Issue
Block a user