mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 20:06:02 +02:00
continue grabbing through overlays
This commit is contained in:
parent
f5446cc4e4
commit
b9754c8564
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue