Fix checkbox example
This commit is contained in:
parent
b2c87cdd23
commit
700262e05c
3 changed files with 20 additions and 10 deletions
|
|
@ -267,7 +267,7 @@ where
|
|||
code_point,
|
||||
size,
|
||||
} = &self.icon;
|
||||
let size = size.map(f32::from).unwrap_or(bounds.height * 0.7);
|
||||
let size = size.unwrap_or(bounds.height * 0.7);
|
||||
|
||||
if self.is_checked {
|
||||
renderer.fill_text(text::Text {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue