Skip to content

Commit

Permalink
Update packages/omezarr/src/sliceview/slice-renderer.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Lane Sawyer <[email protected]>
  • Loading branch information
froyo-np and lanesawyer authored Nov 1, 2024
1 parent 4daf9ef commit bcd7013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/omezarr/src/sliceview/slice-renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function toZarrRequest(tile: VoxelTile, channel: number): ZarrRequest {
};
}
}
function isPrepared(stuff: Record<string, ReglCacheEntry | undefined>): stuff is GpuData {
function isPrepared(cacheData: Record<string, ReglCacheEntry | undefined>): cacheData is GpuData {
return 'R' in stuff && 'G' in stuff && 'B' in stuff &&
stuff.R?.type === 'texture' && stuff.G?.type === 'texture' && stuff.B?.type === 'texture'
}
Expand Down

0 comments on commit bcd7013

Please sign in to comment.