refactor: clean up main
cargo devel CI / cargo CI (push) Has been cancelled Details

This commit is contained in:
Christoph J. Scherr 2024-08-13 16:50:16 +02:00
parent a68f40a2a6
commit ad0d9da30d
1 changed files with 1 additions and 2 deletions

View File

@ -8,12 +8,11 @@ mod app;
fn main() -> eframe::Result {
env_logger::init(); // Log to stderr (if you run with `RUST_LOG=debug`).
let icon = app::load_icon();
let native_options = eframe::NativeOptions {
viewport: egui::ViewportBuilder::default()
.with_inner_size([400.0, 300.0])
.with_min_inner_size([300.0, 220.0])
.with_icon(icon),
.with_icon(app::load_icon()),
..Default::default()
};
eframe::run_native(