Skip to content

Commit

Permalink
Update mod.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
rustbasic authored Jan 23, 2025
1 parent 287b113 commit f9f71dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/egui/src/memory/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ impl Focus {
self.focus_direction = FocusDirection::None;

for event in &new_input.events {
if !event_filter.matches(event) {
if !event_filter.matches_focus(event) {
if let crate::Event::Key {
key,
pressed: true,
Expand Down

0 comments on commit f9f71dc

Please sign in to comment.