From 41fe0ce2b179d092b88036e8a568584d050907ff Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Sat, 15 Jan 2022 10:12:54 +0100 Subject: [PATCH] Centre zoom in/out on selection if availble --- frontend/src/App.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 3e20556..9f90c50 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -322,6 +322,8 @@ function App(): JSX.Element { })(); }; + const zoomMultiplier = 1.777; + const handleZoomIn = () => { if (mediaSet == null) { return;