mirror of https://github.com/wayvr-org/wayvr.git
fix errors and use accent color
This commit is contained in:
parent
8e20934663
commit
a587afe9d4
|
|
@ -355,7 +355,7 @@ pub fn construct(ess: &mut ConstructEssentials, params: Params) -> anyhow::Resul
|
|||
let color_checked = if let Some(color) = params.color_checked {
|
||||
color
|
||||
} else {
|
||||
theme.button_color
|
||||
theme.accent_color
|
||||
};
|
||||
|
||||
let color_unchecked = if let Some(color) = params.color_unchecked {
|
||||
|
|
|
|||
|
|
@ -91,6 +91,8 @@ pub fn parse_component_checkbox(
|
|||
radio_group,
|
||||
value: component_value,
|
||||
tooltip: tooltip.get_info(),
|
||||
color_checked: None,
|
||||
color_unchecked: None,
|
||||
},
|
||||
)?;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue