Merge pull request #9451 from sethalves/tablet-ui

re-enable haptic pulse when stylus touches tablet overlay
This commit is contained in:
Seth Alves 2017-01-20 10:12:45 -08:00 committed by GitHub
commit 5a316d639a

View file

@ -1758,6 +1758,8 @@ function MyController(hand) {
if (rayPickInfo.overlayID) {
var overlay = rayPickInfo.overlayID;
Controller.triggerHapticPulse(1, 20, this.hand);
if (Overlays.keyboardFocusOverlay != overlay) {
Entities.keyboardFocusEntity = null;
Overlays.keyboardFocusOverlay = overlay;