diff options
author | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2020-07-17 17:44:13 +0200 |
---|---|---|
committer | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2020-07-26 20:06:07 +0200 |
commit | 8c05dadcffbd31c4faeb09d222da0d3ca07c5ab0 (patch) | |
tree | 9c6a778c1428a49b33f1fa274e5e94802a029852 /editor/icons/VisibilityNotifier3D.svg | |
parent | 33d423e240fbfa0b28bfa40fd0be746e88e95a31 (diff) |
Fix Return key events in LineEdit & TextEdit on Android
Depending on the device implementation, editor actions could be
received with different action ids or not at all for multi-line.
Added a parameter to virtual keyboards to properly handle single-line
and multi-line cases in all situations.
Single-line:
Input type set to text without multiline to make sure actions are sent.
IME options are set to DONE action to force action id consistency.
Multi-line:
Input type set to text and multiline to make sure enter triggers new lines.
Actions are disabled by the multiline flag, so '\n' characters are
handled in text changed callbacks.
Diffstat (limited to 'editor/icons/VisibilityNotifier3D.svg')
0 files changed, 0 insertions, 0 deletions