@ombori/ga-gridapp-iframe
Advanced tools
Comparing version 2.197.2 to 2.197.3
@@ -6,2 +6,13 @@ # Change Log | ||
## [2.197.3](https://github.com/ombori/gridapp/compare/v2.197.2...v2.197.3) (2022-04-17) | ||
### Bug Fixes | ||
* cleanup ([4945056](https://github.com/ombori/gridapp/commit/4945056642f83703003b9cff639f664f6b5943e6)) | ||
## [2.197.2](https://github.com/ombori/gridapp/compare/v2.197.1...v2.197.2) (2022-04-16) | ||
@@ -8,0 +19,0 @@ |
@@ -70,4 +70,3 @@ var __assign = (this && this.__assign) || function () { | ||
height: window.innerHeight, | ||
}), dim = _a[0], setDimensions = _a[1]; | ||
console.log({ dim: dim }); | ||
}), dimensions = _a[0], setDimensions = _a[1]; | ||
var handleResize = debounce(function () { | ||
@@ -82,3 +81,3 @@ setDimensions({ | ||
}, []); | ||
var width = dim.width, height = dim.height; | ||
var width = dimensions.width, height = dimensions.height; | ||
var isPortrait = width < height; | ||
@@ -85,0 +84,0 @@ var scalingFactor = isPortrait ? width / 1080 : height / 1080; |
{ | ||
"name": "@ombori/ga-gridapp-iframe", | ||
"version": "2.197.2", | ||
"version": "2.197.3", | ||
"main": "dist/index.js", | ||
@@ -16,3 +16,3 @@ "license": "UNLICENSED", | ||
}, | ||
"gitHead": "cceb8ea852e3d33cb2d2810ffff735408e529ecc" | ||
"gitHead": "02b581142388b3c03e319951927e0f4133fce9b7" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
16459
345