From 8d67078a90a5afb0356d83bc1504b36f61eb5093 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 22 Sep 2025 11:58:35 +0100 Subject: [PATCH] Add reset button to viewport for restoring default properties --- dicom-viewer/src/App.tsx | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/dicom-viewer/src/App.tsx b/dicom-viewer/src/App.tsx index 93fbcec..cdfaa4c 100644 --- a/dicom-viewer/src/App.tsx +++ b/dicom-viewer/src/App.tsx @@ -2555,6 +2555,39 @@ function App({ container_id, imageStacks, autoCacheStack, annotationJson, viewer }} onClick={e => e.stopPropagation()} // <-- prevent bubbling to viewport > + {WINDOW_LEVEL_PRESETS.map((preset) => (