зеркало из https://github.com/mozilla/hubs.git
Merge pull request #5600 from mozilla/fix-pen-on-mobile
Fix pen on touchscreen devices
This commit is contained in:
Коммит
e0fa6022f0
|
@ -41,7 +41,7 @@ const getPlayerCamera = function() {
|
|||
|
||||
function shouldMoveCursor(touch, rect, raycaster) {
|
||||
const isCursorGrabbing = anyEntityWith(APP.world, HeldRemoteRight);
|
||||
if (isCursorGrabbing) return false;
|
||||
if (isCursorGrabbing) return true;
|
||||
|
||||
// Check if this touch might result in an interact or grab eventually
|
||||
const rawIntersections = [];
|
||||
|
|
Загрузка…
Ссылка в новой задаче