You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a multi layer setup only the images of the first stack are prefetched. If you have multiple layers, e.g. 1. the actual image and 2. an overlay, and scroll through the stack, you will notice a delay for the overlay part.
Prerequisites
Description
In a multi layer setup only the images of the first stack are prefetched. If you have multiple layers, e.g. 1. the actual image and 2. an overlay, and scroll through the stack, you will notice a delay for the overlay part.
In the code you also see that only the first stack is used for the prefetch operation: https://github.com/cornerstonejs/cornerstoneTools/blob/master/src/stackTools/stackPrefetch.js#L77
Steps to Reproduce the issue
Expected behavior:
stackPrefetch.enable()
should prefetch images for all stacksActual behavior:
stackPrefetch.enable()
prefetches images only for the first stackCodeSandbox With Reproduction of Issue:
Sorry, I don't have that kind of dummy stack data public available.
The text was updated successfully, but these errors were encountered: