iticket-seatingplan-dev 1.3.3 → 1.3.4

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.
@@ -343,7 +343,10 @@ const SeatingPlan = _ref => {
343
343
  const y = filteredSeats.map(fs => fs.y);
344
344
  const maxX = Math.max(...x) - Math.min(...x);
345
345
  const maxY = Math.max(...y) - Math.min(...y);
346
- if (maxY > 67.5) return 4;else return 6;
346
+
347
+ // if (maxY > 67.5) return 4
348
+ // else return 6
349
+ return 5;
347
350
  };
348
351
 
349
352
  // return seating plan
@@ -496,7 +499,7 @@ const SeatingPlan = _ref => {
496
499
  key: i
497
500
  }, /*#__PURE__*/_react.default.createElement(_reactLeaflet.ImageOverlay, {
498
501
  url: "https://iticketseatingplan.blob.core.windows.net/embed/static/media/rippleload.08e6a08dd832819226ef.gif",
499
- bounds: [[height * 0.05 - s.y / (height > 800 ? height > 999 ? 3.5 : 3.3 : 3.35) - (height > 800 ? height > 999 ? height * 0.0201 : height * 0.0198 : height * 0.0201) - 0.11, s.x * 0.3 + 0.15 - 0.11], [height * 0.05 - s.y / (height > 800 ? height > 999 ? 3.5 : 3.3 : 3.35) - (height > 800 ? height > 999 ? height * 0.0201 : height * 0.0198 : height * 0.0201) + 0.11, s.x * 0.3 + 0.15 + 0.11]
502
+ bounds: [[(s.r.includes('NORTH') ? height / 33.33 - height / 33.33 * s.y * 0.0105 + 1.4 : height * 0.05 - s.y / (height > 800 ? height > 999 ? 3.45 : 3.3 : 3.35) - (height > 800 ? height > 999 ? height * 0.0201 : height * 0.0198 : height * 0.0201)) - 0.11, s.x * 0.3 + 0.15 - 0.11], [(s.r.includes('NORTH') ? height / 33.33 - height / 33.33 * s.y * 0.0105 + 1.4 : height * 0.05 - s.y / (height > 800 ? height > 999 ? 3.45 : 3.3 : 3.35) - (height > 800 ? height > 999 ? height * 0.0201 : height * 0.0198 : height * 0.0201)) + 0.11, s.x * 0.3 + 0.15 + 0.11]
500
503
  // [height * 0.0302 - s.y * 0.602 - 0.3, s.x * 0.61 - 0.3],
501
504
  // [height * 0.0302 - s.y * 0.602 + 0.3, s.x * 0.61 + 0.3],
502
505
  // [height * 0.0302 - s.y * 0.602 - 0.17, s.x * 0.61 - 0.17],
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "iticket-seatingplan-dev",
3
3
  "description": "Seating plan with FLEXi pricing",
4
4
  "author": "gedwyne",
5
- "version": "1.3.3",
5
+ "version": "1.3.4",
6
6
  "private": false,
7
7
  "keywords": [
8
8
  "iticket",