parameter changes made from code during runtime are reflected in text boxes
parent
ba7ef483c4
commit
e994df0d65
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue