Naming fix

This commit is contained in:
Piotr Siuszko 2025-01-14 14:16:43 +01:00
parent 13e78e73c3
commit 050908cb99
2 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,7 @@ eframe = { version = "0.30", default-features = false, features = [
] } ] }
log = "0.4" log = "0.4"
egui_json_tree = "0.10" egui_json_tree = "0.10"
rpack_cli = { default-features = false, path = "../rpack_cli" } rpack_cli = { default-features = false, path = "../rpack_cli", version = "0.1" }
# You only need serde if you want app persistence: # You only need serde if you want app persistence:
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }

View File

@ -275,13 +275,13 @@ impl eframe::App for Application {
.show(ctx, |ui| { .show(ctx, |ui| {
powered_by_egui_and_eframe(ui); powered_by_egui_and_eframe(ui);
}); });
egui::SidePanel::right("leftPanel") egui::SidePanel::right("right")
.min_width(200.0) .min_width(200.0)
.max_width(400.0)
.frame(egui::Frame::canvas(&ctx.style())) .frame(egui::Frame::canvas(&ctx.style()))
.show_animated(ctx, !self.image_data.is_empty(), |ui| { .show_animated(ctx, !self.image_data.is_empty(), |ui| {
egui::ScrollArea::vertical() egui::ScrollArea::vertical()
.id_salt("leftPanel_scroll") .id_salt("rightPanel_scroll")
.show(ui, |ui| { .show(ui, |ui| {
CollapsingHeader::new("Settings") CollapsingHeader::new("Settings")
.default_open(true) .default_open(true)