mirror of
https://github.com/liabru/matter-js.git
synced 2025-03-14 00:38:41 -04:00
Merge 6a317dd760
into acb99b6f87
This commit is contained in:
commit
8b7cd5cfee
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue