Skip to content

Commit

Permalink
fix: crosshairs for panned viewports after perf improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
sedghi committed Jun 30, 2021
1 parent 35152ea commit 3066198
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/cornerstone-tools/src/tools/CrosshairsTool.ts
Original file line number Diff line number Diff line change
@@ -440,11 +440,11 @@ export default class CrosshairsTool extends BaseAnnotationTool {
return
}

if (
!this._isCrosshairsActive({ renderingEngineUID, sceneUID, viewportUID })
) {
return
}
// if (
// !this._isCrosshairsActive({ renderingEngineUID, sceneUID, viewportUID })
// ) {
// return
// }

// -- Update the camera of other linked viewports in the same scene that
// have the same camera in case of translation

0 comments on commit 3066198

Please sign in to comment.