From cb070e2c1a9eaeb9c067703268fe5f56d2d6d542 Mon Sep 17 00:00:00 2001 From: Aditya Sanjeev Date: Thu, 1 Oct 2026 14:59:46 -0700 Subject: [PATCH] Stop organ chips resizing on toggle, lock page scroll in viewer, hover-identify on by default Organ chips swapped border-0 <-> border-2 when toggled, so clicking an organ shrank the chip and shifted everything below it. The 2px border is now always present and only its color changes (shared .vp-organ-chip class, used by the single viewer and the compare viewer). Scrolling over the viewer could scroll the whole window when a wheel tick wasn't consumed by a pane. The page is locked from scrolling while the viewer is mounted and panes use overscroll-behavior: contain. Hover-to-identify now defaults to on; the View menu still toggles it. Pancreatic lesion color changes from dark maroon to bright red. --- PanTS-Demo/src/components/OrganCheckbox.tsx | 22 +++++++---------- PanTS-Demo/src/helpers/constants.ts | 2 +- PanTS-Demo/src/routes/VisualizationPage.css | 14 +++++++++++ PanTS-Demo/src/routes/VisualizationPage.tsx | 26 ++++++++++++++++++++- 4 files changed, 49 insertions(+), 15 deletions(-) diff --git a/PanTS-Demo/src/components/OrganCheckbox.tsx b/PanTS-Demo/src/components/OrganCheckbox.tsx index 31338dee..d9d4a235 100644 --- a/PanTS-Demo/src/components/OrganCheckbox.tsx +++ b/PanTS-Demo/src/components/OrganCheckbox.tsx @@ -141,12 +141,10 @@ function Checked({ }`} />
{ e.stopPropagation(); updateToggle(!partialToggled); @@ -176,12 +174,10 @@ function Checked({