We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eca5e6a commit dfc1f2cCopy full SHA for dfc1f2c
crates/egui/src/widgets/plot/mod.rs
@@ -1055,6 +1055,11 @@ impl PlotUi {
1055
self.response.clicked()
1056
}
1057
1058
+ /// Returns `true` if the plot was clicked by the secondary button.
1059
+ pub fn plot_secondary_clicked(&self) -> bool {
1060
+ self.response.secondary_clicked()
1061
+ }
1062
+
1063
/// The pointer position in plot coordinates. Independent of whether the pointer is in the plot area.
1064
pub fn pointer_coordinate(&self) -> Option<PlotPoint> {
1065
// We need to subtract the drag delta to keep in sync with the frame-delayed screen transform:
0 commit comments