Guard output summary adjustments behind adjustments_enabled flag
Rotation, flip, brightness, contrast, and other adjustment operations only appear in the output step summary when the adjustments step is enabled in the workflow configuration.
This commit is contained in:
@@ -2185,6 +2185,7 @@ fn update_output_summary(ui: &WizardUi) {
|
||||
ops.push("Sequential rename".to_string());
|
||||
}
|
||||
}
|
||||
if cfg.adjustments_enabled {
|
||||
if cfg.rotation > 0 {
|
||||
let rot = match cfg.rotation {
|
||||
1 => "Rotate 90",
|
||||
@@ -2240,6 +2241,7 @@ fn update_output_summary(ui: &WizardUi) {
|
||||
if cfg.canvas_padding > 0 {
|
||||
ops.push(format!("Padding {}px", cfg.canvas_padding));
|
||||
}
|
||||
}
|
||||
|
||||
let summary_text = if ops.is_empty() {
|
||||
"No operations configured".to_string()
|
||||
|
||||
Reference in New Issue
Block a user