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

Method mouse_interaction

src/plot_widget.rs:1727–1734  ·  view source on GitHub ↗
(
        &self,
        state: &Self::State,
        _bounds: Rectangle,
        _cursor: mouse::Cursor,
    )

Source from the content-addressed store, hash-verified

1725 effects.needs_redraw |= state.picking.has_outstanding_gpu_request();
1726 }
1727
1728 let (publish_x_ticks, publish_y_ticks) =
1729 update_ticks_and_build_payload(widget, state, &mut effects, first_time_widget_view);
1730 if publish_x_ticks.is_some() || publish_y_ticks.is_some() {
1731 invalidation.static_layer();
1732 }
1733
1734 let needs_publish = effects.hover_pick.is_some()
1735 || effects.drag_event.is_some()
1736 || effects.cursor_ui.is_some()
1737 || publish_x_ticks.is_some()

Callers

nothing calls this directly

Calls 1

plot_mouse_interactionFunction · 0.85

Tested by

no test coverage detected