Fix r_to_l argument as well to just be a flag

This commit is contained in:
itsjunetime
2025-11-06 18:21:18 -06:00
parent 6b37976357
commit e61eb9b846
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -787,7 +787,7 @@ impl Tui {
}
}
// I want this to always return 0 'cause I just use it to return from `Self::handle_event`]
// I want this to always return an option 'cause I just use it to return from `Self::handle_event`
#[expect(clippy::unnecessary_wraps)]
fn update_zoom(&mut self, f: impl FnOnce(&mut Zoom)) -> Option<InputAction> {
if let Some(z) = &mut self.zoom {