Skip to content

Commit

Permalink
Cargo formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ArjunNair committed Sep 16, 2024
1 parent ab90969 commit 606fbd5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,10 @@ pub fn input_to_egui(
}
match event {
// Handle when window Resized and SizeChanged.
Window { win_event: WindowEvent::Resized(_, _) | WindowEvent::SizeChanged(_, _), .. } => {
Window {
win_event: WindowEvent::Resized(_, _) | WindowEvent::SizeChanged(_, _),
..
} => {
painter.update_screen_rect(window.drawable_size());
state.input.screen_rect = Some(painter.screen_rect);
}
Expand Down

0 comments on commit 606fbd5

Please sign in to comment.