@luomus/laji-form 15.1.39 → 15.1.40

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.
@@ -414,12 +414,12 @@ class MobileEditorMap extends React.Component {
414
414
  window.removeEventListener("resize", this.updateDimensions);
415
415
  }
416
416
  getCircle(radiusPixels) {
417
- return (React.createElement("svg", { width: "100%", height: "100%", style: { position: "absolute", zIndex: 1000, top: 0, left: 0, pointerEvents: "none" } },
417
+ return (React.createElement("svg", { width: this.state.width, height: this.state.height, style: { position: "absolute", zIndex: 1000, top: 0, left: 0, pointerEvents: "none" } },
418
418
  React.createElement("defs", null,
419
- React.createElement("mask", { id: "mask", x: "0", y: "0", width: "100%", height: "100%" },
420
- React.createElement("rect", { x: "0", y: "0", width: "100%", height: "100%", fill: "#fff" }),
419
+ React.createElement("mask", { id: "mask", x: "0", y: "0", width: this.state.width, height: this.state.height },
420
+ React.createElement("rect", { x: "0", y: "0", width: this.state.width, height: this.state.height, fill: "#fff" }),
421
421
  React.createElement("circle", { cx: this.state.width / 2, cy: this.state.height / 2, r: radiusPixels }))),
422
- React.createElement("rect", { x: "0", y: "0", width: "100%", height: "100%", mask: "url(#mask)", fillOpacity: "0.2" }),
422
+ React.createElement("rect", { x: "0", y: "0", width: this.state.width, height: this.state.height, mask: "url(#mask)", fillOpacity: "0.2" }),
423
423
  React.createElement("circle", { cx: this.state.width / 2, cy: this.state.height / 2, r: radiusPixels, stroke: "black", strokeWidth: "2", fillOpacity: "0" }),
424
424
  React.createElement("line", { x1: this.state.width / 2, y1: this.state.height / 2 - radiusPixels, x2: this.state.width / 2, y2: this.state.height / 2 + radiusPixels, stroke: "black", strokeWidth: "2" }),
425
425
  React.createElement("line", { x1: this.state.width / 2 - radiusPixels, y1: this.state.height / 2, x2: this.state.width / 2 + radiusPixels, y2: this.state.height / 2, stroke: "black", strokeWidth: "2" })));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luomus/laji-form",
3
- "version": "15.1.39",
3
+ "version": "15.1.40",
4
4
  "description": "React module capable of building dynamic forms from Laji form json schemas",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",