mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-02 21:02:13 +00:00
trying to fix swipe cursor
This commit is contained in:
parent
c3276b943b
commit
10eb6e5178
1 changed files with 1 additions and 0 deletions
|
@ -1355,6 +1355,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
|||
|
||||
@Override
|
||||
public void onMovePointer(int steps) {
|
||||
mInputLogic.finishInput();
|
||||
if (steps < 0) {
|
||||
int availableCharacters = mInputLogic.mConnection.getTextBeforeCursor(64, 0).length();
|
||||
steps = availableCharacters < -steps ? -availableCharacters : steps;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue