Skip to content

Commit

Permalink
Refactor rendering engine resize and render calls
Browse files Browse the repository at this point in the history
  • Loading branch information
sedghi committed Feb 21, 2024
1 parent 76e17a1 commit 6535ed1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1008,8 +1008,8 @@ class CornerstoneViewportService extends PubSubService implements IViewportServi
});

// Resize and render the rendering engine again.
this.renderingEngine?.resize(isImmediate);
this.renderingEngine?.render();
renderingEngine.resize(isImmediate);
renderingEngine.render();
}

private resetGridResizeTimeout() {
Expand Down

0 comments on commit 6535ed1

Please sign in to comment.