mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
mobile global buttons
This commit is contained in:
@@ -103,9 +103,7 @@ export default class NoteTreeWidget extends TabAwareWidget {
|
||||
},
|
||||
expand: (event, data) => this.setExpandedToServer(data.node.data.branchId, true),
|
||||
collapse: (event, data) => this.setExpandedToServer(data.node.data.branchId, false),
|
||||
hotkeys: {
|
||||
keydown: await this.getHotKeys()
|
||||
},
|
||||
hotkeys: utils.isMobile() ? undefined : { keydown: await this.getHotKeys() },
|
||||
dnd5: {
|
||||
autoExpandMS: 600,
|
||||
dragStart: (node, data) => {
|
||||
@@ -399,8 +397,6 @@ export default class NoteTreeWidget extends TabAwareWidget {
|
||||
await this.tree.reload(notes);
|
||||
}
|
||||
|
||||
createTopLevelNoteCommand() { noteCreateService.createNewTopLevelNote(); }
|
||||
|
||||
collapseTreeCommand() { this.collapseTree(); }
|
||||
|
||||
isEnabled() {
|
||||
|
||||
Reference in New Issue
Block a user