mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-19 13:00:12 -07:00
Clear focus when mouse grab is false
This commit is contained in:
parent
6ba6ea2db7
commit
978f029958
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue