Fixed default TextInput focused content color for non-inline-styled

controls
This commit is contained in:
casey langen 2020-10-10 14:35:37 -07:00
parent f620d51590
commit b3c73e5edc

View File

@ -72,9 +72,9 @@ TextInput::TextInput(TextInput::Style style, IInput::InputMode inputMode)
, inputMode(inputMode)
, enterEnabled(true)
, truncate(false) {
this->SetFocusedContentColor(Color::TextFocused);
if (style == StyleLine) {
this->SetFrameVisible(false);
this->SetFocusedContentColor(Color::TextFocused);
}
}