mirror of
https://github.com/zadam/trilium.git
synced 2025-10-28 16:56:34 +01:00
start of mobile layout
This commit is contained in:
@@ -66,7 +66,7 @@ export default class NoteTreeWidget extends TabAwareWidget {
|
||||
this.$widget.fancytree({
|
||||
autoScroll: true,
|
||||
keyboard: false, // we takover keyboard handling in the hotkeys plugin
|
||||
extensions: ["hotkeys", "dnd5", "clones"],
|
||||
extensions: utils.isMobile() ? ["clones"] : ["hotkeys", "dnd5", "clones"],
|
||||
source: treeData,
|
||||
scrollParent: this.$widget,
|
||||
minExpandLevel: 2, // root can't be collapsed
|
||||
|
||||
Reference in New Issue
Block a user