refactoring

This commit is contained in:
Simon Gardling
2022-05-16 10:47:37 -04:00
parent 1815c341aa
commit bee782035e
3 changed files with 25 additions and 30 deletions

View File

@@ -591,13 +591,7 @@ impl App for MathApp {
self.settings.max_x = max_x;
dyn_mut_iter(self.functions.get_entries_mut()).for_each(|(_, function)| {
function.calculate(
&min_x,
&max_x,
width_changed,
min_max_changed,
&self.settings,
)
function.calculate(width_changed, min_max_changed, &self.settings)
});
self.last_info.0 = self