Skip to content

Commit 2dabe1d

Browse files
removed double scrolling area
1 parent 197bbba commit 2dabe1d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

core/src/egui/panel.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,9 @@ impl<'panel, Context> Panel<'panel, Context> {
178178

179179
ui.add_space(24.);
180180

181-
egui::ScrollArea::vertical()
182-
.auto_shrink([false, true])
183-
.show(ui, |ui| {
181+
// egui::ScrollArea::vertical()
182+
// .auto_shrink([false, true])
183+
// .show(ui, |ui| {
184184
ui.set_width(ui.available_width());
185185

186186
if let Some(body) = self.body {
@@ -195,7 +195,7 @@ impl<'panel, Context> Panel<'panel, Context> {
195195
if padding > 0. {
196196
ui.add_space(padding);
197197
}
198-
});
198+
//});
199199

200200
if let Some(footer) = self.footer {
201201
footer(self.this, ui);

0 commit comments

Comments
 (0)