prevent context menu
This commit is contained in:
parent
063dafe269
commit
72ae855640
@ -134,6 +134,10 @@ document.addEventListener('pointerdown', (e) => {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
document.addEventListener('contextmenu', (e) => {
|
||||||
|
e.preventDefault();
|
||||||
|
});
|
||||||
|
|
||||||
const loadProgress = ref({ download: 0, decode: 0 });
|
const loadProgress = ref({ download: 0, decode: 0 });
|
||||||
|
|
||||||
const mainVideoURL = new URL('./assets/main.mp4', import.meta.url).href;
|
const mainVideoURL = new URL('./assets/main.mp4', import.meta.url).href;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user