Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlcctrlv committed Mar 18, 2023
1 parent 4b04901 commit 0c9b650
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@ fn main() {
editor.quit(&mut interface);
}

if egui_manager.wants_event(interface.windows().into_iter().nth(0).unwrap().sdl_window, &event) {
if egui_manager.wants_event(
interface.windows().into_iter().nth(0).unwrap().sdl_window,
&event,
) {
continue;
}

Expand Down
2 changes: 1 addition & 1 deletion src/user_interface/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ pub mod follow;
pub mod gui;
pub mod icons;
pub mod mouse_input;
pub mod sdl;
pub mod popout;
pub mod sdl;

use std::rc::Rc;

Expand Down
2 changes: 1 addition & 1 deletion src/user_interface/popout.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use sdl2::video::GLContext;
use sdl2::{video::Window as SdlWindow};
use sdl2::video::Window as SdlWindow;

use super::Interface;

Expand Down

0 comments on commit 0c9b650

Please sign in to comment.