iticket-seatingplan-dev 1.0.25 → 1.0.26
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
|
|
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 >
|
|
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 >
|
|
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 >
|
|
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),
|