Skip to content

Commit

Permalink
Release 0.16.0: egui 0.25.0
Browse files Browse the repository at this point in the history
  • Loading branch information
optozorax committed Feb 3, 2024
1 parent 62f1a3e commit 81d6a42
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "egui-macroquad"
version = "0.15.0"
version = "0.16.0"
authors = ["Ilya Sheprut <[email protected]>"]
edition = "2021"
license = "MIT/Apache-2.0"
Expand Down
Binary file modified docs/demo.wasm
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/mq_js_bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/demo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ async fn main() {
});

set_camera(&Camera2D {
zoom: vec2(1., screen_width() / screen_height()),
zoom: vec2(1., -screen_width() / screen_height()),
..Default::default()
});

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ static mut EGUI: Option<Egui> = None;

fn get_egui() -> &'static mut Egui {
unsafe {
if let Some(egui) = &mut EGUI {
if let Some(egui) = EGUI.as_mut() {
egui
} else {
EGUI = Some(Egui::new());
Expand Down

0 comments on commit 81d6a42

Please sign in to comment.