mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 21:30:03 -04:00
Make egui_plot::PlotMemory public (#3871)
This allows users to e.g. read/write the plot bounds/transform before and after showing a `Plot`.
This commit is contained in:
@@ -226,7 +226,7 @@ impl LegendWidget {
|
||||
}
|
||||
|
||||
// Get the name of the hovered items.
|
||||
pub fn hovered_entry_name(&self) -> Option<String> {
|
||||
pub fn hovered_item_name(&self) -> Option<String> {
|
||||
self.entries
|
||||
.iter()
|
||||
.find(|(_, entry)| entry.hovered)
|
||||
|
||||
Reference in New Issue
Block a user