fix: disable auto-iterations when passing an iterations parameter in CLI through --view
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user