mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +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
@@ -9,13 +9,13 @@ import { Track } from "@/interfaces";
|
||||
import trackContext from "@/contexts/track_context";
|
||||
|
||||
export const showTrackContextMenu = (
|
||||
e: Event,
|
||||
e: MouseEvent,
|
||||
track: Track,
|
||||
flag: Ref<boolean>
|
||||
) => {
|
||||
const menu = useContextStore();
|
||||
|
||||
const options = trackContext(track, useModalStore, useQueueStore);
|
||||
const options = () => trackContext(track, useModalStore, useQueueStore);
|
||||
|
||||
menu.showContextMenu(e, options, ContextSrc.Track);
|
||||
flag.value = true;
|
||||
|
||||
Reference in New Issue
Block a user