Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions egui_plot/src/plot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1655,9 +1655,6 @@ impl<'a> Plot<'a> {
// Compute bounds
self.compute_bounds(ui, &mut mem, &plot_ui, plot_rect);

// Handle interactions (modifies plot_ui.response in place)
self.handle_interactions(ui, &mut mem, &mut plot_ui, plot_rect, &axis_responses);

// Render axis widgets
self.render_axis_widgets(ui, &mut mem, axis_widgets);

Expand All @@ -1674,6 +1671,9 @@ impl<'a> Plot<'a> {
let painter = ui.painter().with_clip_rect(*mem.transform.frame());
painter.extend(shapes);

// Handle interactions (modifies plot_ui.response in place)
self.handle_interactions(ui, &mut mem, &mut plot_ui, plot_rect, &axis_responses);

// Show coordinates in a corner of the plot
// Use ui to access style information and draw the coordinate text overlay
Self::show_coordinates(
Expand Down
Loading