mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-14 15:17:02 -04:00
[Control button] Bug fix: toggle color not shown
This commit is contained in:
parent
9fe8eaeba6
commit
dc6be7077e
@ -201,6 +201,7 @@ public class ControlButton extends Button implements OnLongClickListener, OnTouc
|
||||
MainActivity.sendKeyPress(mProperties.keycode, CallbackBridge.getCurrentMods(), isDown);
|
||||
} else if (mGestureDetector.onTouchEvent(event)) {
|
||||
mChecked = !mChecked;
|
||||
invalidate();
|
||||
setHolding(mChecked);
|
||||
MainActivity.sendKeyPress(mProperties.keycode, CallbackBridge.getCurrentMods(), mChecked);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user