Skip to content

Commit

Permalink
fix locked bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
s-nie committed Feb 5, 2023
1 parent 2fe9332 commit d8efd9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/egui/src/widgets/plot/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -747,9 +747,11 @@ impl Plot {
if let Some(linked_bounds) = link_groups.0.get(id) {
if axes.x {
bounds.set_x(linked_bounds);
bounds_modified.x = true;
}
if axes.y {
bounds.set_y(linked_bounds);
bounds_modified.y = true;
}
};
});
Expand Down

0 comments on commit d8efd9a

Please sign in to comment.