Skip to content

Commit

Permalink
add component lib argument
Browse files Browse the repository at this point in the history
  • Loading branch information
onsdagens committed Oct 8, 2023
1 parent fb16719 commit 5782a87
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
use clap::Parser;
use std::path::PathBuf;
use syncrim::{common::ComponentStore, fern::fern_setup};

#[cfg(feature = "gui-egui")]
use syncrim::gui_egui::editor::Library;
/// Simple program to greet a person
#[derive(Parser, Debug)]
#[command(author, version, about, long_about = None)]
Expand All @@ -19,7 +20,7 @@ fn main() {
let cs = ComponentStore::load_file(&_path);

#[cfg(feature = "gui-egui")]
syncrim::gui_egui::gui(cs, &_path).ok();
syncrim::gui_egui::gui(cs, &_path, Library::default()).ok();

#[cfg(feature = "gui-vizia")]
syncrim::gui_vizia::gui(cs, &_path);
Expand Down

0 comments on commit 5782a87

Please sign in to comment.