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

Method cursor_world_data

src/plot_state.rs:907–913  ·  view source on GitHub ↗
(&self, viewport: DVec2)

Source from the content-addressed store, hash-verified

905 }
906
907 let picked = if let Some(HoverPickEvent::Hover(point_id)) = *publish_hover_pick {
908 Some(point_id)
909 } else {
910 widget.pick_hit(self)
911 };
912
913 if let Some(point_id) = picked {
914 *publish_hover_pick = Some(HoverPickEvent::Pick(point_id));
915 }
916 }

Callers 1

handle_mouse_eventMethod · 0.80

Calls 3

screen_to_worldMethod · 0.80
plot_point_to_dataFunction · 0.70
newFunction · 0.50

Tested by

no test coverage detected