mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-25 08:22:17 +00:00
Fix: Reverse left/right keypress when editing RTL text. (#12711)
When editing RTL text, pressing left should increment instead of decrement the character position to move left, and vice versa.
This commit is contained in:
@@ -72,6 +72,9 @@ private:
|
||||
|
||||
bool CanDelChar(bool backspace);
|
||||
|
||||
bool MovePrev(StringIterator::IterType what);
|
||||
bool MoveNext(StringIterator::IterType what);
|
||||
|
||||
void DeleteText(uint16_t from, uint16_t to, bool update);
|
||||
|
||||
void UpdateStringIter();
|
||||
|
||||
Reference in New Issue
Block a user