MCPcopy Create free account
hub / github.com/donkeyteethUX/iced_plot / plot_mouse_interaction

Function plot_mouse_interaction

src/plot_widget.rs:1687–1697  ·  view source on GitHub ↗
(state: &PlotState)

Source from the content-addressed store, hash-verified

1685 if let Some(aspect) = widget.data_aspect
1686 && apply_data_aspect(&mut state.camera, &state.bounds, aspect)
1687 {
1688 effects.needs_redraw = true;
1689 invalidation.all();
1690 }
1691
1692 if (state.camera != prev_camera || state.bounds != prev_bounds)
1693 && widget.has_visible_dynamic_geometry_transforms()
1694 {
1695 state.rebuild_from_widget(widget);
1696 effects.needs_redraw = true;
1697 invalidation.all();
1698 }
1699
1700 // Hover/pick highlight mask boxes are baked in clip space. Rebuild them through the

Callers 1

mouse_interactionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected