mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
allow lasers to scroll tablet while in edit-mode
This commit is contained in:
parent
1038e97c7f
commit
3ea0f6d2d2
1 changed files with 2 additions and 1 deletions
|
@ -862,7 +862,8 @@ function MyController(hand) {
|
|||
if ((isInEditMode() && this.grabbedEntity !== HMD.tabletID) &&
|
||||
(newState !== STATE_OFF &&
|
||||
newState !== STATE_SEARCHING &&
|
||||
newState !== STATE_OVERLAY_STYLUS_TOUCHING)) {
|
||||
newState !== STATE_OVERLAY_STYLUS_TOUCHING &&
|
||||
newState !== STATE_OVERLAY_LASER_TOUCHING)) {
|
||||
return;
|
||||
}
|
||||
setGrabCommunications((newState === STATE_DISTANCE_HOLDING) || (newState === STATE_NEAR_GRABBING));
|
||||
|
|
Loading…
Reference in a new issue