mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
[debug] 2
This commit is contained in:
parent
72de65e482
commit
d5f55aba44
2 changed files with 207 additions and 21 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue