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

Method pan_by

src/plot_state.rs:894–905  ·  view source on GitHub ↗
(&mut self, direction: PanDirection, fraction: f64)

Source from the content-addressed store, hash-verified

892 *publish_hover_pick = Some(HoverPickEvent::ClearPick);
893 false
894 }
895 }
896 }
897
898 fn pick_highlighted_point(
899 &mut self,
900 widget: &PlotWidget,
901 publish_hover_pick: &mut Option<HoverPickEvent>,
902 ) {
903 if !self.pick_enabled || self.pan.active || self.selection.active {
904 return;
905 }
906
907 let picked = if let Some(HoverPickEvent::Hover(point_id)) = *publish_hover_pick {
908 Some(point_id)

Callers 1

handle_keyboard_eventMethod · 0.80

Calls 2

update_axis_linksMethod · 0.80
newFunction · 0.50

Tested by

no test coverage detected