0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2025-03-14 00:38:41 -04:00
This commit is contained in:
Secundino Martinez 2024-11-27 16:05:09 +00:00 committed by GitHub
commit 8b7cd5cfee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1484,6 +1484,7 @@ var Mouse = require('../core/Mouse');
canvas.height = height;
canvas.oncontextmenu = function() { return false; };
canvas.onselectstart = function() { return false; };
canvas.tabIndex = 1;
return canvas;
};