continue grabbing through overlays

This commit is contained in:
Howard Stearns 2016-06-14 20:17:52 -07:00
parent f5446cc4e4
commit b9754c8564

View file

@ -361,11 +361,15 @@ function MyController(hand) {
var _this = this; var _this = this;
this.ignoreInput = function () {
return (_this.state <= STATE_HOLD_SEARCHING) && isIn2DMode();
};
this.update = function() { this.update = function() {
this.updateSmoothedTrigger(); this.updateSmoothedTrigger();
if (isIn2DMode()) { if (_this.ignoreInput()) {
_this.turnOffVisualizations(); _this.turnOffVisualizations();
return; return;
} }