@seatmap.pro/renderer 1.65.15 → 1.66.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.
package/lib/index.d.ts CHANGED
@@ -1642,8 +1642,9 @@ interface IRendererSettings {
1642
1642
  switchToWebGL?: boolean;
1643
1643
  /**
1644
1644
  * Force the GPU capability tier instead of auto-detecting from device hardware.
1645
- * 'constrained' enables the two-layer texture system (detail crop on zoom)
1646
- * and caps canvas dimensions to 2048px.
1645
+ * Since SEAT-990 the two-layer texture system (detail crop on zoom) runs on every
1646
+ * WebGL device regardless of tier; the flag now only caps physical canvas dimensions
1647
+ * to 2048px on 'constrained'.
1647
1648
  * Also settable via URL parameter `?gpuTier=constrained`.
1648
1649
  * @hidden
1649
1650
  */
@@ -2144,7 +2145,7 @@ interface ISectionTransform {
2144
2145
  interface IStageLayer {
2145
2146
  destroy: () => void;
2146
2147
  backgroundElement: HTMLImageElement;
2147
- /** Full-resolution background image retained in JS heap for detail cropping (constrained devices only) */
2148
+ /** Full-resolution background image retained in JS heap for on-demand detail cropping (all WebGL devices). */
2148
2149
  fullBackgroundImage: HTMLImageElement | null;
2149
2150
  redraw: () => void;
2150
2151
  drawOffscreenCanvas: () => void;
@@ -2166,7 +2167,7 @@ interface IStageLayer {
2166
2167
  * Should resolve after the first full render finishes.
2167
2168
  */
2168
2169
  captureSeatmap: () => Promise<HTMLImageElement | null>;
2169
- /** Notify that viewport has settled after animation -- triggers detail crop on constrained devices */
2170
+ /** Notify that viewport has settled after animation -- triggers detail crop update on WebGL devices */
2170
2171
  onViewportSettled?: () => void;
2171
2172
  /** Dispose detail texture immediately -- called when animation starts to prevent stale crop flash */
2172
2173
  disposeDetailTexture?: () => void;