iticket-seatingplan-dev 1.0.25 → 1.0.27

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.
@@ -212,7 +212,7 @@ const SeatingPlan = _ref => {
212
212
  });
213
213
  }
214
214
  }, [chosenSeat, processing]);
215
- console.log(height > 400, width);
215
+ console.log(height, width);
216
216
  // return seating plan
217
217
  return /*#__PURE__*/_react.default.createElement("div", {
218
218
  style: {
@@ -238,7 +238,7 @@ const SeatingPlan = _ref => {
238
238
  key: i
239
239
  }, /*#__PURE__*/_react.default.createElement(_reactLeaflet.ImageOverlay, {
240
240
  url: "https://iticketseatingplan.blob.core.windows.net/embed/static/media/rippleload.08e6a08dd832819226ef.gif",
241
- bounds: [[height * 0.0302 - s.y * 0.6 - height * (height > 400 ? 0.0001 : 0.001) - 0.3, s.x * 0.6 + 0.25 - 0.3], [height * 0.0302 - s.y * 0.6 - height * (height > 400 ? 0.0001 : 0.001) + 0.3, s.x * 0.6 + 0.25 + 0.3]
241
+ bounds: [[height * 0.0302 - s.y * 0.6 - height * (height > 700 ? 0.0001 : 0.0006) - 0.3, s.x * 0.6 + 0.25 - 0.3], [height * 0.0302 - s.y * 0.6 - height * (height > 700 ? 0.0001 : 0.0006) + 0.3, s.x * 0.6 + 0.25 + 0.3]
242
242
  // [height * 0.0302 - s.y * 0.602 - 0.3, s.x * 0.61 - 0.3],
243
243
  // [height * 0.0302 - s.y * 0.602 + 0.3, s.x * 0.61 + 0.3],
244
244
  // [height * 0.0302 - s.y * 0.602 - 0.17, s.x * 0.61 - 0.17],
@@ -258,13 +258,13 @@ const SeatingPlan = _ref => {
258
258
  // height * 0.0302 - s.y * 0.602 + 0.17,
259
259
  // s.x * 0.61 + 0.17,
260
260
  // ],
261
- [height * 0.0302 - s.y * 0.6 - height * (height > 400 ? 0.0001 : 0.001) - 0.17, s.x * 0.6 + 0.25 - 0.17], [height * 0.0302 - s.y * 0.6 - height * (height > 400 ? 0.0001 : 0.001) + 0.17, s.x * 0.6 + 0.25 + 0.17]],
261
+ [height * 0.0302 - s.y * 0.6 - height * (height > 700 ? 0.0001 : 0.0006) - 0.17, s.x * 0.6 + 0.25 - 0.17], [height * 0.0302 - s.y * 0.6 - height * (height > 700 ? 0.0001 : 0.0006) + 0.17, s.x * 0.6 + 0.25 + 0.17]],
262
262
  zIndex: 10
263
263
  }) : /*#__PURE__*/_react.default.createElement(_reactLeaflet.Circle, {
264
264
  center: [
265
265
  // (width * 0.03 - (s.y - 11.5)) * 0.65,
266
266
  // s.x * 0.64,
267
- height * 0.0302 - s.y * 0.6 - height * (height > 400 ? 0.0001 : 0.001), s.x * 0.6 + 0.25
267
+ height * 0.0302 - s.y * 0.6 - height * (height > 700 ? 0.0001 : 0.0006), s.x * 0.6 + 0.25
268
268
  // s.y,
269
269
  // s.x * 0.6 + 0.25,
270
270
  // height * 0.03 - s.y * (height * 0.000535),
@@ -281,7 +281,7 @@ const SeatingPlan = _ref => {
281
281
  }, /*#__PURE__*/_react.default.createElement(_reactLeaflet.Tooltip, {
282
282
  direction: 'top',
283
283
  offset: [0, height * 0.03 + -30]
284
- }, s.y), s.s === 1 && !processing && /*#__PURE__*/_react.default.createElement(_reactLeaflet.Popup, null, /*#__PURE__*/_react.default.createElement("p", {
284
+ }, s.r + '-' + s.c, ' '), s.s === 1 && !processing && /*#__PURE__*/_react.default.createElement(_reactLeaflet.Popup, null, /*#__PURE__*/_react.default.createElement("p", {
285
285
  style: {
286
286
  marginTop: '0.2rem',
287
287
  marginBottom: '0.2rem',
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.0.25",
5
+ "version": "1.0.27",
6
6
  "private": false,
7
7
  "keywords": [
8
8
  "iticket",