mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-17 00:29:50 -04:00
Fix[input]: enforce non focusable when disabled
This commit is contained in:
parent
e264181356
commit
ef9d5e347c
@ -127,7 +127,6 @@ public class TouchCharInput extends androidx.appcompat.widget.AppCompatEditText
|
|||||||
setFocusable(true);
|
setFocusable(true);
|
||||||
setVisibility(VISIBLE);
|
setVisibility(VISIBLE);
|
||||||
requestFocus();
|
requestFocus();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Lose ability to exist, take focus and have some text being input */
|
/** Lose ability to exist, take focus and have some text being input */
|
||||||
@ -135,6 +134,7 @@ public class TouchCharInput extends androidx.appcompat.widget.AppCompatEditText
|
|||||||
clear();
|
clear();
|
||||||
clearFocus();
|
clearFocus();
|
||||||
setEnabled(false);
|
setEnabled(false);
|
||||||
|
setFocusable(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Send the enter key. */
|
/** Send the enter key. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user