mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 04:42:28 +08:00
Add grid to canvas (#6429)
This commit is contained in:
commit
fa509661ab
2 changed files with 2 additions and 2 deletions
|
|
@ -166,7 +166,6 @@ export default class ExcalidrawTypeWidget extends TypeWidget {
|
|||
onChange: () => this.onChangeHandler(),
|
||||
viewModeEnabled: options.is("databaseReadonly"),
|
||||
zenModeEnabled: false,
|
||||
gridModeEnabled: false,
|
||||
isCollaborating: false,
|
||||
detectScroll: false,
|
||||
handleKeyboardGlobally: false,
|
||||
|
|
|
|||
|
|
@ -153,7 +153,8 @@ export default class Canvas {
|
|||
appState: {
|
||||
scrollX: appState.scrollX,
|
||||
scrollY: appState.scrollY,
|
||||
zoom: appState.zoom
|
||||
zoom: appState.zoom,
|
||||
gridModeEnabled: appState.gridModeEnabled
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue