Skip to content

Commit

Permalink
Fix EguiWantsFocus docs saying true instead of false
Browse files Browse the repository at this point in the history
  • Loading branch information
Plonq committed Nov 25, 2023
1 parent 96045e0 commit f4c7a74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/egui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use bevy::prelude::{DetectChangesMut, Query, ResMut, Resource};
/// where both egui and the camera are using the input events, which is not desirable.
///
/// This is re-exported in case it's useful. I recommend only using input events if both
/// `prev` and `curr` are true.
/// `prev` and `curr` are false.
#[derive(Resource, PartialEq, Eq, Default)]
pub struct EguiWantsFocus {
/// Whether egui wanted focus on the previous frame
Expand Down

0 comments on commit f4c7a74

Please sign in to comment.