modern-canvas 0.13.5 → 0.13.6
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/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7499,7 +7499,7 @@ class Ge extends I {
|
|
|
7499
7499
|
draw() {
|
|
7500
7500
|
const { width: e, height: t } = this.parent.size, s = this.parent.context;
|
|
7501
7501
|
let i, o = !1;
|
|
7502
|
-
this.image === "viewport" ? s.
|
|
7502
|
+
this.image === "viewport" ? s.strokeStyle = new Je() : ({ uvTransform: i, disableWrapMode: o } = Et(this, { width: e, height: t }), s.strokeStyle = this.texture ?? this.color), s.lineWidth = this.width || 1, s.lineCap = this.lineCap, s.lineJoin = this.lineJoin, s.stroke({
|
|
7503
7503
|
uvTransform: i,
|
|
7504
7504
|
disableWrapMode: o
|
|
7505
7505
|
});
|