mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-15 07:39:00 -04:00
Clear focus when mouse grab is false
This commit is contained in:
parent
6ba6ea2db7
commit
978f029958
@ -479,6 +479,7 @@ public class BaseMainActivity extends LoggableActivity {
|
||||
CallbackBridge.mouseY = (int) mouse_y;
|
||||
if(!CallbackBridge.isGrabbing()){
|
||||
view.releasePointerCapture();
|
||||
view.clearFocus();
|
||||
}
|
||||
|
||||
if (debugText.getVisibility() == View.VISIBLE && !debugErrored) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user