improve scrolling perf

This commit is contained in:
Nolan Lawson 2018-01-16 08:59:44 -08:00
parent 46209d7a2e
commit 4e48146fb5
2 changed files with 2 additions and 4 deletions

View file

@ -61,6 +61,7 @@
".............. status-toolbar";
grid-template-columns: 58px 1fr;
border-bottom: 1px solid var(--main-border);
will-change: transform; /* TODO: is this necessary? */
}
:global(.status-sidebar) {

View file

@ -39,10 +39,7 @@
this.store.set({
scrollTop: e.target.scrollTop
})
}, DEBOUNCE_TIME, {
leading: true,
trailing: true
}))
}, DEBOUNCE_TIME))
},
ondestroy () {
},