Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
abey79 committed May 7, 2024
1 parent 659fee8 commit b00eb7d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions crates/re_viewer/src/app_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -368,14 +368,15 @@ impl AppState {
app_blueprint.blueprint_panel_expanded,
|ui: &mut egui::Ui| {
//TODO(#6256): workaround for https://github.com/emilk/egui/issues/4475
let max_rect = ui.max_rect();
ui.painter()
.rect_filled(ui.max_rect(), 0.0, ui.visuals().panel_fill);
.rect_filled(max_rect, 0.0, ui.visuals().panel_fill);
ui.painter().vline(
ui.max_rect().right(),
ui.max_rect().y_range(),
max_rect.right(),
max_rect.y_range(),
ui.visuals().widgets.noninteractive.bg_stroke,
);
ui.set_clip_rect(ui.max_rect());
ui.set_clip_rect(max_rect);

re_ui::full_span::full_span_scope(ui, ui.max_rect().x_range(), |ui| {
// ListItem don't need vertical spacing so we disable it, but restore it
Expand Down

0 comments on commit b00eb7d

Please sign in to comment.