mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
grid support (1st iteration) (#1788)
Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
parent
b6bf011d0d
commit
baa8fb6c14
14 changed files with 343 additions and 80 deletions
|
@ -53,6 +53,7 @@ export const getDefaultAppState = (): AppState => {
|
|||
shouldCacheIgnoreZoom: false,
|
||||
showShortcutsDialog: false,
|
||||
zenModeEnabled: false,
|
||||
gridSize: null,
|
||||
editingGroupId: null,
|
||||
selectedGroupIds: {},
|
||||
};
|
||||
|
@ -81,5 +82,6 @@ export const clearAppStateForLocalStorage = (appState: AppState) => {
|
|||
export const cleanAppStateForExport = (appState: AppState) => {
|
||||
return {
|
||||
viewBackgroundColor: appState.viewBackgroundColor,
|
||||
gridSize: appState.gridSize,
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue