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