MCPcopy Index your code
hub / github.com/ChartGPU/ChartGPU / assertNotDisposed

Function assertNotDisposed

src/renderers/createCrosshairRenderer.ts:313–315  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

311 let lastScissor = { x: 0, y: 0, w: 0, h: 0 };
312
313 const assertNotDisposed = (): void => {
314 if (disposed) throw new Error('CrosshairRenderer is disposed.');
315 };
316
317 const prepare: CrosshairRenderer['prepare'] = (x, y, gridArea, renderOptions) => {
318 assertNotDisposed();

Callers 3

prepareFunction · 0.70
renderFunction · 0.70
setVisibleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected