diff --git a/src/app/components/image-viewer/ImageViewer.tsx b/src/app/components/image-viewer/ImageViewer.tsx index 4429b0d40..6018e3e2f 100644 --- a/src/app/components/image-viewer/ImageViewer.tsx +++ b/src/app/components/image-viewer/ImageViewer.tsx @@ -81,6 +81,10 @@ export const ImageViewer = as<'div', ImageViewerProps>( className={css.ImageViewerContent} justifyContent="Center" alignItems="Center" + onWheel={(evt) => { + if (evt.deltaY < 0) zoomIn(); + else if (evt.deltaY > 0) zoomOut(); + }} >