PIXI Controls: Fix dpad move event on Edit Mode close
This commit is contained in:
parent
ff890a2894
commit
322a754bf6
1 changed files with 1 additions and 0 deletions
|
@ -334,6 +334,7 @@ ONSControls.clearInteractive = function() {
|
||||||
for (elem of this.getControlElements()) {
|
for (elem of this.getControlElements()) {
|
||||||
elem.removeAllListeners();
|
elem.removeAllListeners();
|
||||||
}
|
}
|
||||||
|
this._dPadContainer.upAll();
|
||||||
// Clear status of VirtualGamepad
|
// Clear status of VirtualGamepad
|
||||||
VirtualGamepad.clearState();
|
VirtualGamepad.clearState();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue