mirror of
https://github.com/excalidraw/excalidraw.git
synced 2024-11-10 11:35:52 +01:00
fix: grid jittery after partition PR (#6935)
This commit is contained in:
parent
de1ebad755
commit
188921c247
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user