mirror of
https://github.com/whscullin/apple2js.git
synced 2024-01-12 14:14:38 +00:00
Eat context menu events. Fixes #21
This commit is contained in:
parent
ce0a1b59ce
commit
91d1d753ad
@ -811,6 +811,9 @@ export function initUI(apple2, disk2, cffa, e) {
|
||||
io.buttonUp(evt.which == 1 ? 0 : 1);
|
||||
}
|
||||
});
|
||||
canvas.addEventListener('contextmenu', function(evt) {
|
||||
evt.preventDefault();
|
||||
});
|
||||
});
|
||||
|
||||
document.body.addEventListener('mousemove', _mousemove);
|
||||
|
Loading…
Reference in New Issue
Block a user