mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-16 08:05:34 -04:00
Fix toogle state not resetting
This commit is contained in:
parent
8164f4a9a9
commit
d994c12cc3
@ -34,6 +34,7 @@ public class GamepadButton {
|
|||||||
|
|
||||||
public void resetButtonState(){
|
public void resetButtonState(){
|
||||||
isDown = false;
|
isDown = false;
|
||||||
|
toggled = false;
|
||||||
}
|
}
|
||||||
public boolean isDown(){
|
public boolean isDown(){
|
||||||
return isToggleable ? toggled : isDown;
|
return isToggleable ? toggled : isDown;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user