mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
Add grid to canvas (#6429)
This commit is contained in:
commit
fa509661ab
@ -166,7 +166,6 @@ export default class ExcalidrawTypeWidget extends TypeWidget {
|
|||||||
onChange: () => this.onChangeHandler(),
|
onChange: () => this.onChangeHandler(),
|
||||||
viewModeEnabled: options.is("databaseReadonly"),
|
viewModeEnabled: options.is("databaseReadonly"),
|
||||||
zenModeEnabled: false,
|
zenModeEnabled: false,
|
||||||
gridModeEnabled: false,
|
|
||||||
isCollaborating: false,
|
isCollaborating: false,
|
||||||
detectScroll: false,
|
detectScroll: false,
|
||||||
handleKeyboardGlobally: false,
|
handleKeyboardGlobally: false,
|
||||||
|
@ -153,7 +153,8 @@ export default class Canvas {
|
|||||||
appState: {
|
appState: {
|
||||||
scrollX: appState.scrollX,
|
scrollX: appState.scrollX,
|
||||||
scrollY: appState.scrollY,
|
scrollY: appState.scrollY,
|
||||||
zoom: appState.zoom
|
zoom: appState.zoom,
|
||||||
|
gridModeEnabled: appState.gridModeEnabled
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user