Skip to content

Commit

Permalink
chore(deps): update rust crate eframe to 0.24 (#43)
Browse files Browse the repository at this point in the history
* chore(deps): update rust crate eframe to 0.24

* fix example

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: amrbashir <[email protected]>
  • Loading branch information
renovate[bot] and amrbashir authored Nov 23, 2023
1 parent 2ae5b3e commit 6fb2bb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ x11-dl = "2.21"
[dev-dependencies]
winit = "0.29"
tao = "0.24"
eframe = "0.23"
eframe = "0.24"
7 changes: 1 addition & 6 deletions examples/egui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,9 @@ fn main() -> Result<(), eframe::Error> {
std::thread::sleep(Duration::from_millis(100));
});

let options = eframe::NativeOptions {
initial_window_size: Some(egui::vec2(320.0, 240.0)),
..Default::default()
};

eframe::run_native(
"My egui App",
options,
eframe::NativeOptions::default(),
Box::new(|_cc| Box::<MyApp>::default()),
)
}
Expand Down

0 comments on commit 6fb2bb4

Please sign in to comment.