@fxi/zartigl 0.1.1 → 0.1.2

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/zartigl.js +1 -1
  2. package/package.json +1 -1
package/dist/zartigl.js CHANGED
@@ -2728,7 +2728,7 @@ class kC {
2728
2728
  const y = Og(I);
2729
2729
  try {
2730
2730
  const Q = I.canvas;
2731
- this.simulation.resize(Q.width, Q.height), this.velocityField.bind(this.velocityTexUnit);
2731
+ this.simulation.resize(Q.width, Q.height), I.bindFramebuffer(I.FRAMEBUFFER, y.framebuffer), this.velocityField.bind(this.velocityTexUnit);
2732
2732
  const G = this.map.getBounds(), s = {
2733
2733
  minX: Ig(Math.max(G.getWest(), -180)),
2734
2734
  minY: Ag(Math.min(G.getNorth(), 85)),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fxi/zartigl",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "MapLibre GL JS plugin for animated particle flow from Zarr ocean current data",
5
5
  "type": "module",
6
6
  "main": "./dist/zartigl.js",