mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Merge "Fix handling shift + enter"
This commit is contained in:
commit
b9e0b99765
@ -451,8 +451,10 @@ public final class InputLogic {
|
|||||||
break;
|
break;
|
||||||
case Constants.CODE_SHIFT_ENTER:
|
case Constants.CODE_SHIFT_ENTER:
|
||||||
// TODO: remove this object
|
// TODO: remove this object
|
||||||
|
final Event tmpEvent = Event.createSoftwareKeypressEvent(Constants.CODE_ENTER,
|
||||||
|
event.mKeyCode, event.mX, event.mY, event.isKeyRepeat());
|
||||||
final InputTransaction tmpTransaction = new InputTransaction(
|
final InputTransaction tmpTransaction = new InputTransaction(
|
||||||
inputTransaction.mSettingsValues, inputTransaction.mEvent,
|
inputTransaction.mSettingsValues, tmpEvent,
|
||||||
inputTransaction.mTimestamp, inputTransaction.mSpaceState,
|
inputTransaction.mTimestamp, inputTransaction.mSpaceState,
|
||||||
inputTransaction.mShiftState);
|
inputTransaction.mShiftState);
|
||||||
didAutoCorrect = handleNonSpecialCharacter(tmpTransaction, handler);
|
didAutoCorrect = handleNonSpecialCharacter(tmpTransaction, handler);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user