fix: pass metadata to viewport orientation matching (#5667)

Co-authored-by: Belbin GK <belbin.kunjumon@prenuvo.com>
This commit is contained in:
Belbin-GKandBelbin GK authored and GitHub committed 2025-12-19 12:56:59 -05:00
1 parent e7bc688290
commit cd253f20bd
1 file changed
+1
@@ -667,6 +667,7 @@ class CornerstoneViewportService extends PubSubService implements IViewportServi
// 4. Strategy: Find viewport with matching orientation via IOP // 4. Strategy: Find viewport with matching orientation via IOP
const orientationMatch = this.findViewportWithMatchingOrientation( const orientationMatch = this.findViewportWithMatchingOrientation(
metadata,
displaySetInstanceUID, displaySetInstanceUID,
viewportType viewportType
); );