fix: disable auto-iterations when passing an iterations parameter in CLI through --view

This commit is contained in:
2026-09-30 10:24:20 +02:00
parent 4703702fe0
commit 969cde6e15
+1
View File
@@ -550,6 +550,7 @@ impl FractalApp {
}; };
self.view = view; self.view = view;
if let Some(v) = iterations { if let Some(v) = iterations {
self.auto_iterations = false;
self.max_iterations = v.clamp(32, MAX_REF_POINTS as u32 - 1); self.max_iterations = v.clamp(32, MAX_REF_POINTS as u32 - 1);
} }
true true