normalize context menu using @popperjs

+ normalize context children too
+ add setting to toggle context children via click or hover
+ add a select setting component
+ remove dead teleport code from sidebar tabs wrapper
+ general clean up
This commit is contained in:
geoffrey45
2022-10-09 00:23:01 +03:00
committed by Mungai Njoroge
parent 4e0837a627
commit bbe7984e4e
24 changed files with 314 additions and 143 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ function playFromQueue(index: number) {
function scrollToCurrent() {
const scrollable = document.getElementById("queue-page-scrollable");
const itemHeight = 64;
const top = queue.currentindex * itemHeight - itemHeight;
const top = (queue.currentindex - 1) * itemHeight;
scrollable?.scrollTo({
top,