From 80f489f112ff3088b6d4611342ac56e8f0db459c Mon Sep 17 00:00:00 2001 From: Seth Forsgren Date: Fri, 9 Dec 2022 09:14:14 -0800 Subject: [PATCH] tweak --- components/SpectrogramViewer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/SpectrogramViewer.tsx b/components/SpectrogramViewer.tsx index 9e0245c..b3f8d68 100644 --- a/components/SpectrogramViewer.tsx +++ b/components/SpectrogramViewer.tsx @@ -50,7 +50,7 @@ export default function SpectrogramViewer({ const playbarShift = 3.6; // [m] // NOTE: this is a hacky way to constrict image and box width to fit in the window for responsiveness - // if window is between 768px and 1068px, this scales the image to fit using a scaler + // if window is between 768px and 1350px, this scales the image to fit using a scaler const imageScaler = window.innerHeight / 3.40; const boxScaler = window.innerHeight / 3.76; const spectrogramImageScale = window.innerWidth > 767 && window.innerWidth < 1350 ? window.innerWidth / imageScaler : 5;