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

Method view_controls_overlay_panel

src/plot_widget.rs:1074–1085  ·  view source on GitHub ↗
(&self, has_legend: bool)

Source from the content-addressed store, hash-verified

1072 )
1073 .padding(6.0)
1074 .style(|theme| self.update_style(theme).tooltip);
1075
1076 // Position tooltip at fixed location relative to point, not following cursor
1077 Some(plot_overlay::positioned_overlay(
1078 tooltip_bubble.into(),
1079 anchor,
1080 horizontal_position,
1081 vertical_position,
1082 ))
1083 }
1084
1085 fn view_cursor_overlay(&self) -> Option<Element<'_, PlotUiMessage>> {
1086 if !self.cursor_overlay {
1087 return None;
1088 }

Callers

nothing calls this directly

Calls 1

update_styleMethod · 0.80

Tested by

no test coverage detected