()
| 2292 | }; |
| 2293 | |
| 2294 | const scheduleZoomResample = (): void => { |
| 2295 | if (disposed) return; |
| 2296 | |
| 2297 | cancelZoomResampleDebounce(); |
| 2298 | zoomResampleDue = false; |
| 2299 | |
| 2300 | zoomResampleDebounceTimer = (typeof self !== 'undefined' ? self : window).setTimeout(() => { |
| 2301 | zoomResampleDebounceTimer = null; |
| 2302 | if (disposed) return; |
| 2303 | zoomResampleDue = true; |
| 2304 | scheduleFlush(); |
| 2305 | }, 100); |
| 2306 | }; |
| 2307 | |
| 2308 | const getPlotSizeCssPx = ( |
| 2309 | canvas: SupportedCanvas, |
no test coverage detected