Skip to content

Commit

Permalink
perf: ⚡️ Fix precaching issues
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesAPetts committed Sep 24, 2020
1 parent e35774b commit 417c14b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/CornerstoneViewport/CornerstoneViewport.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ class CornerstoneViewport extends Component {
const image = await cornerstone.loadAndCacheImage(imageId);

// Display

cornerstone.displayImage(this.element, image);

if (isStackPrefetchEnabled) {
Expand Down

0 comments on commit 417c14b

Please sign in to comment.