mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
add scrolling margins, #1181
This commit is contained in:
parent
224fbdc8cd
commit
960d7dede3
@ -307,6 +307,10 @@ export default class NoteTreeWidget extends TabAwareWidget {
|
||||
keyboard: false, // we takover keyboard handling in the hotkeys plugin
|
||||
extensions: utils.isMobile() ? ["dnd5", "clones"] : ["hotkeys", "dnd5", "clones"],
|
||||
source: treeData,
|
||||
scrollOfs: {
|
||||
top: 200,
|
||||
bottom: 200
|
||||
},
|
||||
scrollParent: this.$tree,
|
||||
minExpandLevel: 2, // root can't be collapsed
|
||||
click: (event, data) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user