mirror of
https://github.com/4yn/slidershim.git
synced 2024-11-24 05:50:12 +01:00
disable right click
This commit is contained in:
parent
331d23a674
commit
3ba7f2b8f2
@ -47,6 +47,8 @@
|
||||
|
||||
// Receive events
|
||||
onMount(async () => {
|
||||
document.addEventListener("contextmenu", (event) => event.preventDefault());
|
||||
|
||||
// console.log(emit, listen);
|
||||
await listen("showConfig", (event) => {
|
||||
const payload: any = JSON.parse(event.payload as any);
|
||||
|
Loading…
Reference in New Issue
Block a user