Skip to content

Commit

Permalink
Temporary workaround for side panel taking over
Browse files Browse the repository at this point in the history
  • Loading branch information
crumblingstatue committed Dec 17, 2024
1 parent 45a9934 commit 465626e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ pub fn do_egui(
let bot_re = TopBottomPanel::bottom("bottom_panel")
.show(ctx, |ui| bottom_panel::ui(ui, app, mouse_pos, gui));
let right_re = egui::SidePanel::right("right_panel")
// TODO: Workaround for side panel aggressively taking over content area with egui 0.30
.max_width(300.0)
.show(ctx, |ui| inspect_panel::ui(ui, app, gui, mouse_pos))
.response;
let padding = 2;
Expand Down

0 comments on commit 465626e

Please sign in to comment.