Skip to content

Commit

Permalink
Don't emit egui::Event::PointerGone events
Browse files Browse the repository at this point in the history
  • Loading branch information
mvlabat committed May 1, 2022
1 parent 214d38f commit a3d113a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/systems.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,6 @@ pub fn process_input(

let mut cursor_left_window = None;
if let Some(cursor_left) = input_events.ev_cursor_left.iter().next_back() {
input_resources
.egui_input
.get_mut(&cursor_left.id)
.unwrap()
.raw_input
.events
.push(egui::Event::PointerGone);
cursor_left_window = Some(cursor_left.id);
}
let cursor_entered_window = input_events
Expand Down

0 comments on commit a3d113a

Please sign in to comment.