mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 06:40:06 -04:00
Fix a clippy nit
This commit is contained in:
@@ -389,7 +389,7 @@ impl<'a> Widget for Checkbox<'a> {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
let text_color = text_color.unwrap_or(visuals.text_color());
|
let text_color = text_color.unwrap_or_else(|| visuals.text_color());
|
||||||
ui.painter()
|
ui.painter()
|
||||||
.galley(text_cursor, galley, text_style, text_color);
|
.galley(text_cursor, galley, text_style, text_color);
|
||||||
response
|
response
|
||||||
|
|||||||
Reference in New Issue
Block a user