You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This patch changes the selection color to *not* red, and adds
a new SELECTED_TEXT_INACTIVE_BACKGROUND_COLOR theme item; it
also now draws the selection with that color when the text is
not focused.
This requires a bit of a hack because of how focus is working
in the textbox; the TextBox has focus, not the InputComponent,
but the InputComponent is responsible for drawing the selection
rects, so we need to explicitly pass down changes in focus state.
C'est la vie.
This also renames SELECTION_COLOR to SELECTED_TEXT_BACKGROUND_COLOR,
for clarity & symmetry.
0 commit comments