mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
Merge branch 'excalidraw:master' into add-arm-as-platform
This commit is contained in:
commit
5e15093d50
1 changed files with 2 additions and 4 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Reference in a new issue