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( strokeGrid(
context, context,
appState.gridSize, appState.gridSize,
-Math.ceil(appState.zoom.value / appState.gridSize) * appState.gridSize + appState.scrollX,
(appState.scrollX % appState.gridSize), appState.scrollY,
-Math.ceil(appState.zoom.value / appState.gridSize) * appState.gridSize +
(appState.scrollY % appState.gridSize),
appState.zoom, appState.zoom,
normalizedWidth / appState.zoom.value, normalizedWidth / appState.zoom.value,
normalizedHeight / appState.zoom.value, normalizedHeight / appState.zoom.value,