@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.
- package/dist/lr-map-viewer.js +3 -3
- package/package.json +1 -1
package/dist/lr-map-viewer.js
CHANGED
|
@@ -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.
|
|
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 =
|
|
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 -
|
|
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
|
}
|