Skip to content

Commit

Permalink
Fix egui_inbox not building without egui
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmerlin committed Oct 13, 2024
1 parent 19ebd46 commit 4d76611
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/egui_inbox/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ impl RequestRepaintContext {
/// Request a repaint.
pub fn request_repaint(&self) {
match &self.0 {
#[cfg(feature = "egui")]
RequestRepaintInner::Ctx(ctx) => ctx.request_repaint(),
RequestRepaintInner::Arc(boxed) => boxed.request_repaint(),
}
Expand Down

0 comments on commit 4d76611

Please sign in to comment.