Skip to content

Commit

Permalink
Next try...
Browse files Browse the repository at this point in the history
  • Loading branch information
ufechner7 committed Mar 23, 2024
1 parent 36a9d43 commit bad9424
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/viewer3D.jl
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@ function Viewer3D(show_kite=true, autolabel="Autopilot"; precompile=false)
on(s.btn_PLAY.clicks) do c
running[] = ! running[]
if ! running[]
pause(s)
last_status=status[]
status[]="Paused"
else
set_status(s, last_status)
end
Expand Down

0 comments on commit bad9424

Please sign in to comment.