tweak
This commit is contained in:
parent
765dacb52b
commit
045eff86e4
|
@ -53,8 +53,8 @@ export default function SpectrogramViewer({
|
|||
// if window is between 768px and 1068px, 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 < 1300 ? window.innerWidth / imageScaler : 5;
|
||||
const spectrogramBoxScale = window.innerWidth > 767 && window.innerWidth < 1300 ? window.innerWidth / boxScaler : 5.5;
|
||||
const spectrogramImageScale = window.innerWidth > 767 && window.innerWidth < 1350 ? window.innerWidth / imageScaler : 5;
|
||||
const spectrogramBoxScale = window.innerWidth > 767 && window.innerWidth < 1350 ? window.innerWidth / boxScaler : 5.5;
|
||||
|
||||
return (
|
||||
<group>
|
||||
|
|
Loading…
Reference in New Issue