mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 12:33:03 +00:00
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:
committed by
Mungai Njoroge
parent
4e0837a627
commit
bbe7984e4e
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user