modern-canvas 0.23.3 → 0.23.4
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 +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6720,10 +6720,11 @@ var ki = class extends J {
|
|
|
6720
6720
|
let e = await this._resolveSourceCanvas();
|
|
6721
6721
|
if (!e) return;
|
|
6722
6722
|
let t = e.width, n = e.height, r = Oi(e, this.effects, t, n);
|
|
6723
|
-
this.texture = new
|
|
6723
|
+
this.texture = new R({
|
|
6724
6724
|
source: r,
|
|
6725
6725
|
width: t,
|
|
6726
|
-
height: n
|
|
6726
|
+
height: n,
|
|
6727
|
+
uploadMethodId: "image"
|
|
6727
6728
|
});
|
|
6728
6729
|
}
|
|
6729
6730
|
async _resolveSourceCanvas() {
|