parameter changes made from code during runtime are reflected in text boxes

pull/5/head
Nikola Sebastian Munder 2025-06-16 20:49:38 +02:00
parent ba7ef483c4
commit e994df0d65
1 changed files with 3 additions and 0 deletions

View File

@ -57,6 +57,9 @@ function param_box!(grid, row, labeltxt, observable::Observable; col=1)
@warn "Invalid input for $labeltxt: $s"
end
end
on(observable) do val
box.displayed_string[] = string(val)
end
end
function multi_step!(state, n_steps, heat_obs::Observable, params_obs::Observable; step_method=step_gray_scott!, dx=1)