@jax-data-science/sci-image-visualizer 0.8.2 → 0.8.3

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.
@@ -189,6 +189,10 @@ export declare class NapariVisualizerService extends BaseStoreVisualizer impleme
189
189
  private loadingBadge;
190
190
  private tileLoading;
191
191
  private observationsLoading;
192
+ /** Image tiles in flight, and the scene they belong to: a fetch that outlives {@link reset}
193
+ * settles against the old generation and leaves the new scene's count alone. */
194
+ private imageTilesLoading;
195
+ private imageTilesGeneration;
192
196
  /** Monotonic load generation. Bumped by {@link reset} and {@link cancelLoading}; the frame-loading
193
197
  * loops (volume assembly, surface preload) capture it and bail when it changes, so a Cancel (or a
194
198
  * new plot) actually stops fetching frames instead of running to completion in the background. */
@@ -326,7 +330,8 @@ export declare class NapariVisualizerService extends BaseStoreVisualizer impleme
326
330
  */
327
331
  private renderImageTiled;
328
332
  /** Build a pyramidal TiledSource backed by the server `/tile` endpoint. `channel` selects a band
329
- * (grayscale luminance, real levels only); omit it for the composite (RGBA, all levels). */
333
+ * (grayscale luminance, real levels only); omit it for the composite (RGBA, all levels).
334
+ * `scene` is the generation of the render that asked for it, taken before that render's awaits. */
330
335
  private buildTiledSource;
331
336
  /** (Re)fetch a coarse per-channel luminance sample for the histogram (tiled mode has no full
332
337
  * in-memory pixels). One cheap overview tile per channel; cached by channel index. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jax-data-science/sci-image-visualizer",
3
- "version": "0.8.2",
3
+ "version": "0.8.3",
4
4
  "engines": {
5
5
  "node": ">=20.9.0"
6
6
  },