diff --git a/ts/lib.ts b/ts/lib.ts index a3b3ae7..53f72d4 100644 --- a/ts/lib.ts +++ b/ts/lib.ts @@ -1043,6 +1043,11 @@ function init() { event.stopPropagation(); return false; }; + canvas.oncontextmenu = function(event) { + event.preventDefault(); + event.stopPropagation(); + return false; + }; let toggle_fullscreen_btn = document.getElementById("fullscreen") as HTMLButtonElement;