mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 05:40:03 -04:00
Revert unnecessary change
This commit is contained in:
@@ -975,9 +975,13 @@ impl CentralPanel {
|
|||||||
.max_rect(ctx.available_rect().round_ui()),
|
.max_rect(ctx.available_rect().round_ui()),
|
||||||
);
|
);
|
||||||
panel_ui.set_clip_rect(ctx.content_rect());
|
panel_ui.set_clip_rect(ctx.content_rect());
|
||||||
|
|
||||||
|
if false {
|
||||||
|
// TODO: @lucasmerlin shouldn't we enable this?
|
||||||
panel_ui
|
panel_ui
|
||||||
.response()
|
.response()
|
||||||
.widget_info(|| WidgetInfo::new(WidgetType::Panel));
|
.widget_info(|| WidgetInfo::new(WidgetType::Panel));
|
||||||
|
}
|
||||||
|
|
||||||
let inner_response = self.show_inside_dyn(&mut panel_ui, add_contents);
|
let inner_response = self.show_inside_dyn(&mut panel_ui, add_contents);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user