Skip to content

Commit

Permalink
refactor: Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrimpCryptid committed Dec 13, 2024
1 parent 491274c commit bcee22f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/loaders/JsonImageInfoLoader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ class JsonImageInfoLoader extends ThreadableVolumeLoader {
resultChannelData.push(channelData);
resultChannelRanges.push(getDataRange(channelData));
} else {
onData([chindex], ["uint8"], [new Uint8Array(cacheResult)], [getDataRange(channelData)]);
onData([chindex], ["uint8"], [channelData], [getDataRange(channelData)]);
}
} else {
cacheHit = false;
Expand Down

0 comments on commit bcee22f

Please sign in to comment.