Merge branch 'excalidraw:master' into add-arm-as-platform

This commit is contained in:
Jezreel Maldonado 2023-08-31 21:31:31 -04:00 committed by GitHub
commit 5e15093d50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -934,10 +934,8 @@ const _renderStaticScene = ({
strokeGrid(
context,
appState.gridSize,
-Math.ceil(appState.zoom.value / appState.gridSize) * appState.gridSize +
(appState.scrollX % appState.gridSize),
-Math.ceil(appState.zoom.value / appState.gridSize) * appState.gridSize +
(appState.scrollY % appState.gridSize),
appState.scrollX,
appState.scrollY,
appState.zoom,
normalizedWidth / appState.zoom.value,
normalizedHeight / appState.zoom.value,