Respect label_color for Buttons (#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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user