@zhangdali1996/lr-map-viewer 0.0.153 → 0.0.154

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.
@@ -21,7 +21,7 @@ var le = Object.create, V = Object.defineProperty, ue = Object.getOwnPropertyDes
21
21
  }) : n, e)), ge = {
22
22
  name: "@zhangdali1996/lr-map-viewer",
23
23
  private: !1,
24
- version: "0.0.152",
24
+ version: "0.0.153",
25
25
  type: "module",
26
26
  files: ["dist"],
27
27
  main: "./dist/lr-map-viewer.js",
@@ -67357,11 +67357,11 @@ function Kq(e = {}) {
67357
67357
  if (P instanceof Map || (P = /* @__PURE__ */ new Map()), P.has(n)) return P.get(n);
67358
67358
  if (typeof document > "u" || !e?.CanvasTexture) return null;
67359
67359
  let r = document.createElement("canvas");
67360
- r.width = 900, r.height = 128;
67360
+ r.width = 760, r.height = 128;
67361
67361
  let i = r.getContext("2d");
67362
67362
  if (!i) return null;
67363
67363
  i.clearRect(0, 0, r.width, r.height), i.fillStyle = n, i.strokeStyle = n, i.lineWidth = 6;
67364
- for (let e = 0; e <= r.width - 900; e += 900) i.beginPath(), i.moveTo(e, 64), i.lineTo(e + 180, 20), i.lineTo(e + 180, 44), i.lineTo(e + 570, 44), i.lineTo(e + 570, 84), i.lineTo(e + 180, 84), i.lineTo(e + 180, 108), i.closePath(), i.fill(), i.stroke();
67364
+ for (let e = 0; e <= r.width - 760; e += 760) i.beginPath(), i.moveTo(e, 64), i.lineTo(e + 120, 20), i.lineTo(e + 120, 44), i.lineTo(e + 380, 44), i.lineTo(e + 380, 84), i.lineTo(e + 120, 84), i.lineTo(e + 120, 108), i.closePath(), i.fill(), i.stroke();
67365
67365
  let a = new e.CanvasTexture(r);
67366
67366
  return a.wrapS = e.RepeatWrapping, a.wrapT = e.RepeatWrapping, a.repeat.set(1, 1), a.offset.set(0, 0), a.needsUpdate = !0, P.set(n, a), a;
67367
67367
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zhangdali1996/lr-map-viewer",
3
3
  "private": false,
4
- "version": "0.0.153",
4
+ "version": "0.0.154",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"