Merge branch 'master' of github.com:excalidraw/excalidraw into arnost/export-image-background

This commit is contained in:
Arnošt Pleskot
2023-09-20 10:11:45 +02:00
101 changed files with 2672 additions and 426 deletions

View File

@@ -940,10 +940,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,