Skip to content

Commit

Permalink
add eventhandler
Browse files Browse the repository at this point in the history
  • Loading branch information
Uwe Fechner committed Mar 23, 2024
1 parent b1510c0 commit b0cacff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/viewer3D.jl
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,8 @@ function Viewer3D(show_kite=true, autolabel="Autopilot"; precompile=false)
running[]=true
end
s.stop = ! running[]
on(scene.px_area) do x
println("New value of scene.px_area is $x")
end
status[] = "Stopped"
s
Expand Down

0 comments on commit b0cacff

Please sign in to comment.