re-enable haptic pulse when stylus touches tablet overlay

This commit is contained in:
Seth Alves 2017-01-20 10:12:15 -08:00
parent eb169abdd7
commit caae804318

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;