made mask exporting multithreaded for speed and greyed out export button during generation

This commit is contained in:
grimsace
2026-04-20 14:33:27 -05:00
parent 33ea3a805a
commit cab349fa52
3 changed files with 145 additions and 75 deletions
+2 -1
View File
@@ -471,7 +471,8 @@ fn draw_generate_tab(
}
ui.add_space(6.0);
if ui.button("Export Image").clicked() {
let export_button = ui.add_enabled(!export_in_progress, egui::Button::new("Export Image"));
if export_button.clicked() {
result.export_clicked = true;
}