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
+6 -6
View File
@@ -62,8 +62,8 @@ impl HotkeysWindow {
}
});
});
if let Some(command) = self.now_binding {
if let Some(shortcut) = ui.input_mut(|i| {
if let Some(command) = self.now_binding
&& let Some(shortcut) = ui.input_mut(|i| {
i.events.iter().find_map(|event| match event {
Event::Key {
key,
@@ -73,10 +73,10 @@ impl HotkeysWindow {
} => Some(KeyboardShortcut::new(*modifiers, *key)),
_ => None,
})
}) {
self.shortcuts.set(command, shortcut);
self.now_binding = None;
}
})
{
self.shortcuts.set(command, shortcut);
self.now_binding = None;
}
}