Skip to content

Commit

Permalink
Move the input cursor when the selection range changes (#542)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShawnCZek committed Nov 27, 2023
1 parent 61d1a4b commit c025b63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Core/Elements/WidgetTextInput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ void WidgetTextInput::SetSelectionRange(int selection_start, int selection_end)
}

UpdateCursorPosition(true);
ShowCursor(true, true);

if (selection_changed)
FormatText();
Expand Down

0 comments on commit c025b63

Please sign in to comment.