mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
am fb3e8057
: Merge "Fix a bug where a space would not be inserted before a gesture"
* commit 'fb3e805722975c39a47e29cfe6c27dd8a8f30701': Fix a bug where a space would not be inserted before a gesture
This commit is contained in:
commit
cd51b80a0b
@ -1540,7 +1540,8 @@ public final class LatinIME extends InputMethodService implements KeyboardAction
|
||||
}
|
||||
} else {
|
||||
final int codePointBeforeCursor = mConnection.getCodePointBeforeCursor();
|
||||
if (mSettings.getCurrent().isUsuallyFollowedBySpace(codePointBeforeCursor)) {
|
||||
if (Character.isLetter(codePointBeforeCursor)
|
||||
|| mSettings.getCurrent().isUsuallyFollowedBySpace(codePointBeforeCursor)) {
|
||||
mSpaceState = SPACE_STATE_PHANTOM;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user