fix(seg): prevent viewport orientation change when loading SEG in manual grid layout (#6021)

This commit is contained in:
Ghadeer Albattarni authored and GitHub committed 2026-05-19 15:59:42 -04:00
1 parent 1e91285c60
commit 95251ab670
6 files changed
+67 -1

No files matched your search

@@ -76,7 +76,7 @@ function getUpdatedViewportsForSegmentation({
isHangingProtocolLayout
);
if (updatedViewports == null) {
if (updatedViewports == null || !isHangingProtocolLayout) {
return updatedViewports;
}