prevent context menu

This commit is contained in:
feie9456 2025-08-17 16:13:35 +08:00
parent 063dafe269
commit 72ae855640

View File

@ -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;