Style.BackgroundOf() returns the accurate color now for TextBox, TextArea and ComboBox.
[GB.GTK3] * BUG: Style.BackgroundOf() returns the accurate color now for TextBox, TextArea and ComboBox.
This commit is contained in:
parent
32d3056473
commit
118be55717
1 changed files with 1 additions and 1 deletions
|
@ -2230,7 +2230,7 @@ gColor gControl::realBackground(bool no_default)
|
|||
if (!no_default)
|
||||
return COLOR_DEFAULT;
|
||||
|
||||
if (parent())
|
||||
if (!use_base && parent())
|
||||
return parent()->realBackground(true);
|
||||
|
||||
return defaultBackground();
|
||||
|
|
Loading…
Reference in a new issue