Skip to content

Commit

Permalink
Replace map widget with walkers crate
Browse files Browse the repository at this point in the history
  • Loading branch information
KoffeinFlummi committed Feb 18, 2024
1 parent fe5afb7 commit 78101eb
Show file tree
Hide file tree
Showing 3 changed files with 265 additions and 357 deletions.
3 changes: 1 addition & 2 deletions src/gui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ impl Sam {

ctx.set_fonts(fonts);

let plot_tab = PlotTab::init(&settings);
let plot_tab = PlotTab::init(ctx, &settings);
let configure_tab = ConfigureTab::init();

egui_extras::install_image_loaders(ctx);
Expand Down Expand Up @@ -181,7 +181,6 @@ impl Sam {
let changed = self.configure_tab.main_ui(ui, self.data_source.as_mut(), &mut self.settings);
if changed {
self.data_source.apply_settings(&self.settings);
self.plot_tab.apply_settings(&self.settings);
}
}
}
Expand Down
Loading

0 comments on commit 78101eb

Please sign in to comment.