mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-19 02:48:12 +08:00
Cancel in-progress drag with right click or escape key (#119)
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user