Skip to content

Commit

Permalink
Revert "Fix: Sides did not apply the layout position correctly. (#5232
Browse files Browse the repository at this point in the history
)"

This reverts commit 6add64e.
  • Loading branch information
emilk authored Oct 23, 2024
1 parent e02be45 commit 31e7ecc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/egui/src/containers/sides.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ impl Sides {
let height = height.unwrap_or_else(|| ui.spacing().interact_size.y);
let spacing = spacing.unwrap_or_else(|| ui.spacing().item_spacing.x);

let mut top_rect = ui.cursor();
let mut top_rect = ui.max_rect();
top_rect.max.y = top_rect.min.y + height;

let result_left;
Expand Down

0 comments on commit 31e7ecc

Please sign in to comment.