Update rust version (required many build changes)

This commit is contained in:
2025-08-24 21:02:48 -04:00
parent b988571674
commit f732720c31
10 changed files with 57 additions and 36 deletions
+4 -4
View File
@@ -86,10 +86,10 @@ impl UiExt for Ui {
let (rect, _) = ui.allocate_at_least(Vec2::new(100.0, 100.0), Sense::hover());
ui.painter().rect_filled(rect, 0.0, *color);
let resp = ui.text_edit_singleline(hex);
if resp.changed() {
if let Ok(new_color) = HexColor::from_str_without_hash(hex) {
*color = new_color.color();
}
if resp.changed()
&& let Ok(new_color) = HexColor::from_str_without_hash(hex)
{
*color = new_color.color();
}
resp
},