mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 23:00:04 -04:00
Fix case where Plot's min_auto_bounds can be ignored after first instantiation (#563)
* Fix case where `Plot`'s `min_auto_bounds` can be ignored after first I ran into an issue using `Plot` within my timeline widget where if I zoom in and out of the timeline (not the plot), the `Plot` instances would ignore the necessary changes to the `include_x` calls and in turn would become skewed and misaligned with the timeline below. This changes the `Plot` to check whether or not `min_auto_bounds` have changed and, if so, reset the memory and recalculate the bounds. See #562 for an image of my current use case. * Carry hidden_items when updating plot for changed bounds
This commit is contained in:
@@ -22,6 +22,7 @@ NOTE: [`eframe`](eframe/CHANGELOG.md), [`egui_web`](egui_web/CHANGELOG.md) and [
|
||||
|
||||
### Fixed 🐛
|
||||
* Fix custom font definitions getting replaced when `pixels_per_point` is changed.
|
||||
* Fix case where `Plot`'s `min_auto_bounds` could be ignored after the first call to `Plot::ui`.
|
||||
|
||||
|
||||
## 0.13.1 - 2021-06-28 - Plot fixes
|
||||
|
||||
Reference in New Issue
Block a user