|
|
@ -194,8 +194,8 @@ impl PipeDash {
|
|
|
|
egui::SidePanel::left("level_picker")
|
|
|
|
egui::SidePanel::left("level_picker")
|
|
|
|
.default_width(100f32)
|
|
|
|
.default_width(100f32)
|
|
|
|
.show(ctx, |ui| {
|
|
|
|
.show(ctx, |ui| {
|
|
|
|
ui.with_layout(egui::Layout::top_down(egui::Align::LEFT).with_main_justify(false), |ui| {
|
|
|
|
ui.with_layout(egui::Layout::top_down(egui::Align::LEFT), |ui| {
|
|
|
|
ui.with_layout(egui::Layout::top_down(egui::Align::LEFT).with_main_justify(true), |ui| {
|
|
|
|
ui.button("Load Level");
|
|
|
|
egui::ScrollArea::vertical().show(ui, |ui| {
|
|
|
|
egui::ScrollArea::vertical().show(ui, |ui| {
|
|
|
|
ui.with_layout(egui::Layout::top_down_justified(egui::Align::Min), |ui| {
|
|
|
|
ui.with_layout(egui::Layout::top_down_justified(egui::Align::Min), |ui| {
|
|
|
|
for (idx, level) in self.level_list.iter().enumerate() {
|
|
|
|
for (idx, level) in self.level_list.iter().enumerate() {
|
|
|
@ -212,8 +212,6 @@ impl PipeDash {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
ui.button("Load Level");
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|