modern-canvas 0.24.8 → 0.24.9

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -4758,7 +4758,7 @@ var U = class extends V {
4758
4758
  this.width = e, this.height = t;
4759
4759
  }
4760
4760
  activate(e, t) {
4761
- return this.valid ? (this.flush(e), this.renderTarget.activate(e, t), e.shader.uniforms.viewMatrix = this.canvasTransform.toArray(!0), e.shader.markGlobalUniformsDirty(), this._tree?.setCurrentViewport(this), !0) : !1;
4761
+ return this.valid ? (this.flush(e), e.shader.uniforms.viewMatrix = this.canvasTransform.toArray(!0), e.shader.markGlobalUniformsDirty(), this.renderTarget.activate(e, t), this._tree?.setCurrentViewport(this), !0) : !1;
4762
4762
  }
4763
4763
  redraw(e, t) {
4764
4764
  if (this.valid) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "modern-canvas",
3
3
  "type": "module",
4
- "version": "0.24.8",
4
+ "version": "0.24.9",
5
5
  "packageManager": "pnpm@10.19.0",
6
6
  "description": "A JavaScript WebGL rendering engine. only the ESM.",
7
7
  "author": "wxm",