mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
use hash mode in vue router
- rename keyboard.ts -> useKeyboard.ts
This commit is contained in:
+2
-2
@@ -33,7 +33,7 @@ import ContextMenu from "./components/contextMenu.vue";
|
||||
import Modal from "./components/modal.vue";
|
||||
import Notification from "./components/Notification.vue";
|
||||
import useQStore from "./stores/queue";
|
||||
import listenForKeyboardEvents from "./composables/keyboard";
|
||||
import useShortcuts from "./composables/useKeyboard";
|
||||
import Logo from "./components/Logo.vue";
|
||||
|
||||
const RightSideBar = Main;
|
||||
@@ -42,7 +42,7 @@ const queue = useQStore();
|
||||
const app_dom = document.getElementById("app");
|
||||
|
||||
queue.readQueue();
|
||||
listenForKeyboardEvents(queue);
|
||||
useShortcuts(queue);
|
||||
|
||||
app_dom.addEventListener("click", (e) => {
|
||||
if (context_store.visible) {
|
||||
|
||||
Reference in New Issue
Block a user