[debug] 2

This commit is contained in:
dwelle 2024-02-07 16:10:47 +01:00
parent 72de65e482
commit d5f55aba44
2 changed files with 207 additions and 21 deletions

View file

@ -77,7 +77,7 @@ const calculateZoomLevel = (
width: AppState["width"],
height: AppState["height"],
) => {
const DEFAULT_VIEWPORT_ZOOM_FACTOR = 0.7;
const DEFAULT_VIEWPORT_ZOOM_FACTOR = 0.2;
const viewportZoomFactor = scrollConstraints.viewportZoomFactor
? Math.min(1, Math.max(scrollConstraints.viewportZoomFactor, 0.1))