Skip to content

Commit

Permalink
fix: problem of transcription after a cursor move
Browse files Browse the repository at this point in the history
Now, the afrim will be clear each time the cursor move.
  • Loading branch information
pythonbrad committed Mar 18, 2024
1 parent d39b28d commit 20bfeb4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/main/java/cm/pythonbrad/afrim/latin/LatinIME.java
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,8 @@ void onStartInputViewInternal(final EditorInfo editorInfo, final boolean restart
public void onWindowShown() {
super.onWindowShown();
if (isInputViewShown()) setNavigationBarColor();
// We assume that the cursor has been moved and we clear the afrim.
mAfrim.clear();
}

@Override
Expand Down

0 comments on commit 20bfeb4

Please sign in to comment.