Skip to content

Commit

Permalink
fix issues related to dragging with egui and the map panning
Browse files Browse the repository at this point in the history
  • Loading branch information
frewsxcv committed Nov 27, 2024
1 parent 8a0f1d4 commit 8088190
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions rgis-mouse/src/systems.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,16 @@ fn mouse_scroll_system(
}

pub fn configure(app: &mut App) {
// https://github.com/vladbat00/bevy_egui/issues/47#issuecomment-2368811068
app.add_systems(
Update,
PreUpdate,
(
cursor_moved_system,
mouse_scroll_system,
mouse_click_system,
mouse_motion_system,
),
)
.after(bevy_egui::EguiSet::ProcessInput)
.before(bevy_egui::EguiSet::BeginPass),
);
}

0 comments on commit 8088190

Please sign in to comment.