Respect label_color
for Button
s (#3469)
This PR makes `Button`s respect the `label_color` that is specified, provided they are not disabled or selected. Release Notes: - N/A
This commit is contained in:
parent
0441b4805a
commit
6d62e6c562
2 changed files with 5 additions and 1 deletions
|
@ -79,7 +79,7 @@ impl RenderOnce for Button {
|
|||
} else if self.base.selected {
|
||||
Color::Selected
|
||||
} else {
|
||||
Color::Default
|
||||
self.label_color.unwrap_or_default()
|
||||
};
|
||||
|
||||
self.base.child(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue