mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 12:33:03 +00:00
fix current track in queue auto scroll position
- add another inner container to limit the offset - auto scroll current track to container start - add todo file
This commit is contained in:
@@ -19,7 +19,7 @@ function focusElem(className: string, delay?: number) {
|
||||
if (dom) {
|
||||
dom.scrollIntoView({
|
||||
behavior: "smooth",
|
||||
block: "center",
|
||||
block: "start",
|
||||
inline: "center",
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user