Cancel in-progress drag with right click or escape key (#119)

This commit is contained in:
Paul Kupper
2021-05-09 10:26:47 +02:00
committed by Keavon Chambers
parent 3522969fec
commit 52bebfad25
10 changed files with 70 additions and 47 deletions
+2
View File
@@ -2,6 +2,8 @@ import { createApp } from "vue";
import App from "./App.vue";
import { attachResponseHandlerToPage } from "./response-handler";
document.addEventListener("contextmenu", (e) => e.preventDefault());
attachResponseHandlerToPage();
createApp(App).mount("#app");