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

Method set_cursor_overlay

src/plot_widget.rs:794–796  ·  view source on GitHub ↗

Enable or disable the small cursor-position overlay shown in the lower-left corner of the plot. Disabled by default.

(&mut self, enabled: bool)

Source from the content-addressed store, hash-verified

792 screen_xy[1] -= shape.anchor_offset[1];
793
794 Some(plot_overlay::positioned_overlay(
795 shape.element,
796 screen_xy,
797 shape.align_to_anchor_horizontal,
798 shape.align_to_anchor_vertical,
799 ))

Callers 1

buildMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected