diff --git a/Cargo.toml b/Cargo.toml index 7d57e87..6804904 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,11 +22,11 @@ log = "0.4" env_logger = "0.10.0" image = { version = "0.24", features = ["jpeg", "png", "gif", "bmp"] } -#icy_engine = { git = "https://github.com/mkrueger/icy_engine.git" } -icy_engine = { path ="../icy_engine" } +icy_engine = { git = "https://github.com/mkrueger/icy_engine.git" } +#icy_engine = { path ="../icy_engine" } -#icy_engine_egui = { git ="https://github.com/mkrueger/icy_engine_egui" } -icy_engine_egui = { path ="../icy_engine_egui" } +icy_engine_egui = { git ="https://github.com/mkrueger/icy_engine_egui" } +#icy_engine_egui = { path ="../icy_engine_egui" } [build-dependencies] winres = "0.1" diff --git a/src/ui/file_view.rs b/src/ui/file_view.rs index bb8e00c..f4b8cac 100644 --- a/src/ui/file_view.rs +++ b/src/ui/file_view.rs @@ -87,7 +87,7 @@ impl FileView { self.refresh(); } }); - + match self.path.to_str() { Some(path) => { let mut path_edit = path.to_string(); @@ -104,12 +104,14 @@ impl FileView { self.refresh(); } ui.separator(); - ui.add_sized([250.0, 20.0], TextEdit::singleline(&mut self.filter).hint_text("Filter entries")); + ui.add_sized( + [250.0, 20.0], + TextEdit::singleline(&mut self.filter).hint_text("Filter entries"), + ); let response = ui.button("🗙").on_hover_text("Reset filter"); if response.clicked() { self.filter.clear(); } - }); ui.add_space(ui.spacing().item_spacing.y);