mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 23:55:24 +02:00
Merge pull request #14357 from ctrlaltdavid/M19761
Fix mini tablet JavaScript crash
This commit is contained in:
commit
07f94030ce
1 changed files with 2 additions and 1 deletions
|
@ -1007,7 +1007,8 @@
|
|||
return;
|
||||
}
|
||||
|
||||
if (message.grabbedEntity !== HMD.tabletID && message.grabbedEntity !== ui.getMiniTabletID()) {
|
||||
if (miniState.getState() === miniState.MINI_DISABLED
|
||||
|| (message.grabbedEntity !== HMD.tabletID && message.grabbedEntity !== ui.getMiniTabletID())) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue