Skip to content

Commit

Permalink
Add Temp folder tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
nozwock committed May 4, 2023
1 parent fadf2fd commit 0373ac3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions crates/yanu/src/gui/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ impl eframe::App for YanuApp {
ui.vertical(|ui| {
ui.group(|ui| {
ui.label("Control NCA:")
.on_hover_text("Control NCA is typically around 1MB in size.");
.on_hover_text("Control NCA is typically around 1MB in size");
ui.with_layout(egui::Layout::left_to_right(egui::Align::TOP), |ui| {
// TODO: Figure out how to move the focus to the end on demand
// let text_edit =
Expand Down Expand Up @@ -609,9 +609,7 @@ fn show_top_bar(
consume_err_or(
"No folder was picked",
dialog_modal,
rfd::FileDialog::new()
.set_title("Pick a folder to create Temp folders in")
.pick_folder(),
rfd::FileDialog::new().pick_folder(),
|dir| {
dialog_modal.open_dialog(
None::<&str>,
Expand All @@ -625,7 +623,9 @@ fn show_top_bar(
},
);
}
});
})
.response
.on_hover_text("Temp dirs will be created in this folder");
ui.menu_button("NSP Extractor", |ui| {
ui.radio_value(
&mut config.nsp_extractor,
Expand Down

0 comments on commit 0373ac3

Please sign in to comment.