mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 21:30:03 -04:00
Remove deprecated functions (#3692)
This commit is contained in:
@@ -1393,24 +1393,6 @@ impl PlotUi {
|
||||
&self.response
|
||||
}
|
||||
|
||||
/// Returns `true` if the plot area is currently hovered.
|
||||
#[deprecated = "Use plot_ui.response().hovered()"]
|
||||
pub fn plot_hovered(&self) -> bool {
|
||||
self.response.hovered()
|
||||
}
|
||||
|
||||
/// Returns `true` if the plot was clicked by the primary button.
|
||||
#[deprecated = "Use plot_ui.response().clicked()"]
|
||||
pub fn plot_clicked(&self) -> bool {
|
||||
self.response.clicked()
|
||||
}
|
||||
|
||||
/// Returns `true` if the plot was clicked by the secondary button.
|
||||
#[deprecated = "Use plot_ui.response().secondary_clicked()"]
|
||||
pub fn plot_secondary_clicked(&self) -> bool {
|
||||
self.response.secondary_clicked()
|
||||
}
|
||||
|
||||
/// The pointer position in plot coordinates. Independent of whether the pointer is in the plot area.
|
||||
pub fn pointer_coordinate(&self) -> Option<PlotPoint> {
|
||||
// We need to subtract the drag delta to keep in sync with the frame-delayed screen transform:
|
||||
|
||||
Reference in New Issue
Block a user