Skip to content

Commit 8ae3563

Browse files
committed
fix black text on combobox when losing keyboard focus
(most easily reproducible by clicking another combobox like Resolution -> FPS in settings)
1 parent a7c4916 commit 8ae3563

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Intersect.Client.Framework/Gwen/Control/ComboBox.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ protected override void OnLostKeyboardFocus()
358358
return;
359359
}
360360

361-
TextColor = Color.Black;
361+
UpdateColors();
362362
}
363363

364364
/// <summary>
@@ -374,7 +374,7 @@ protected override void OnKeyboardFocus()
374374
return;
375375
}
376376

377-
TextColor = Color.White;
377+
UpdateColors();
378378
}
379379

380380
/// <summary>

0 commit comments

Comments
 (0)