Displaying progress bar for lazy-loaded studies images
This commit is contained in:
1 parent
830ca6f566
commit
d259affd9a
2 files changed
+4
-1
No files matched your search
@@ -30,6 +30,10 @@ OHIF.studies.loadStudy = studyInstanceUid => new Promise((resolve, reject) => {
|
||||
OHIF.viewer.StudyMetadataList.insert(study);
|
||||
}
|
||||
|
||||
// Add the study to the loading listener to display loading progress on series thumbnails
|
||||
const studyLoadingListener = OHIF.viewerbase.StudyLoadingListener.getInstance();
|
||||
studyLoadingListener.addStudy(study);
|
||||
|
||||
// Add the studyInstanceUid to the loaded state dictionary
|
||||
OHIF.studies.loadedDict.set(study.studyInstanceUid, true);
|
||||
|
||||
|
||||
Reference in new issue
Block a user