Skip to content

Commit

Permalink
Match on the embark-added OpenURL event
Browse files Browse the repository at this point in the history
  • Loading branch information
fornwall authored and rib committed Jan 16, 2024
1 parent 12ad9e7 commit d9fea82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crates/egui-winit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ wayland = ["winit/wayland", "bytemuck"]
x11 = ["winit/x11", "bytemuck"]

[dependencies]
egui = { version = "0.25.0", path = "../egui", default-features = false, features = [
egui = { version = "0.25.0", default-features = false, features = [
"log",
] }
log = { version = "0.4", features = ["std"] }
Expand Down
1 change: 1 addition & 0 deletions crates/egui-winit/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1634,6 +1634,7 @@ pub fn short_generic_event_description<T>(event: &winit::event::Event<T>) -> &'s
match event {
Event::AboutToWait => "Event::AboutToWait",
Event::LoopExiting => "Event::LoopExiting",
Event::OpenURL{ .. } => "Event::OpenURL",
Event::Suspended => "Event::Suspended",
Event::Resumed => "Event::Resumed",
Event::MemoryWarning => "Event::MemoryWarning",
Expand Down

0 comments on commit d9fea82

Please sign in to comment.