make slider not limit whole screen size and remove print

pull/5/head
Nikola Sebastian Munder 2025-06-16 20:44:47 +02:00
parent 29c1302191
commit ba7ef483c4
1 changed files with 1 additions and 2 deletions

View File

@ -89,7 +89,7 @@ function build_ui(U, V, param_obs_map::NamedTuple, params_obs, heat_obs)
btn_step = Button(buttongrid[1, 1], width=50, label="Step")
btn_start = Button(buttongrid[1, 2], width=50, label=run_label)
btn_reset = Button(buttongrid[1, 3], width=50, label="Reset")
slidergrid = SliderGrid(fig[3, 1], (label="Speed", range=1:1:100, format="{}x", width=350, startvalue=stepsize[]))
slidergrid = SliderGrid(fig[3, 1], (label="Speed", range=1:1:100, format="{}x", width=350, startvalue=stepsize[]), tellwidth=false)
speed_slider = slidergrid.sliders[1].value
@ -156,7 +156,6 @@ function build_ui(U, V, param_obs_map::NamedTuple, params_obs, heat_obs)
return
end
x, y = pt
println("params_obs[].N, ", params_obs[].N)
i, j = coord_to_index(x, y, params_obs[].N)
# get corners of square that will get filled with concentration