@hkdigital/lib-core 0.5.33 → 0.5.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -248,13 +248,16 @@
248
248
 
249
249
  // Use window.inner dimensions instead of screen dimensions
250
250
  // because screen.width/height don't rotate on iOS PWA
251
- if (angle === 90 || angle === 270) {
252
- iosWindowWidth = window.innerHeight;
253
- iosWindowHeight = window.innerWidth;
254
- } else {
255
- iosWindowWidth = window.innerWidth;
256
- iosWindowHeight = window.innerHeight;
257
- }
251
+ // if (angle === 90 || angle === 270) {
252
+ // iosWindowWidth = window.innerHeight;
253
+ // iosWindowHeight = window.innerWidth;
254
+ // } else {
255
+ // iosWindowWidth = window.innerWidth;
256
+ // iosWindowHeight = window.innerHeight;
257
+ // }
258
+
259
+ iosWindowWidth = window.innerWidth;
260
+ iosWindowHeight = window.innerHeight;
258
261
 
259
262
  if( debug )
260
263
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hkdigital/lib-core",
3
- "version": "0.5.33",
3
+ "version": "0.5.34",
4
4
  "author": {
5
5
  "name": "HKdigital",
6
6
  "url": "https://hkdigital.nl"