@jax-data-science/sci-image-visualizer 0.2.5 → 0.2.7

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.
@@ -88,6 +88,13 @@ export declare class VisualizerComponent implements OnInit, OnChanges, AfterView
88
88
  * "Sharpening preview..." overlay — mid-download if the loading flag flips early. */
89
89
  get isCaching(): boolean;
90
90
  private running;
91
+ /**
92
+ * Monotonic render generation. Bumped when a render starts, so a render that
93
+ * has been superseded by a newer image can be recognised and made inert: its
94
+ * callbacks return early instead of painting, clearing `running`, releasing
95
+ * the newer render's overlay, or applying its ROIs.
96
+ */
97
+ private renderToken;
91
98
  zIndex: number;
92
99
  maxIndex: number;
93
100
  contextMenu: ContextMenu;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jax-data-science/sci-image-visualizer",
3
- "version": "0.2.5",
3
+ "version": "0.2.7",
4
4
  "description": "Browser-based scientific image visualization for Angular — gigapixel whole-slide (OpenSeadragon), 2D/3D (Plotly) and WebGPU (napari-js) rendering, with region/annotation editing and in-browser SAM segmentation.",
5
5
  "keywords": [
6
6
  "angular",