Files
cef/patch/patches/views_textfield_5399416.patch
Marshall Greenblatt e7320793b6 Update to Chromium version 136.0.7103.0 (#1440670)
- Win: Update to VS 2022 17.13.4 and WinSDK 10.0.26100.3323
2025-04-07 15:38:21 -04:00

16 lines
567 B
Diff

diff --git ui/views/controls/textfield/textfield.cc ui/views/controls/textfield/textfield.cc
index 971a4ea58a9ee..6a4a457bc055b 100644
--- ui/views/controls/textfield/textfield.cc
+++ ui/views/controls/textfield/textfield.cc
@@ -3132,6 +3132,10 @@ void Textfield::OnEnabledChanged() {
if (GetInputMethod()) {
GetInputMethod()->OnTextInputTypeChanged(this);
}
+ if (GetWidget()) {
+ SetColor(GetTextColor());
+ UpdateBackgroundColor();
+ }
UpdateDefaultBorder();
// Only expose readonly if enabled. Don't overwrite the disabled restriction.