From bad942426658f098c24e5e8cbb3ddaf694a1f0df Mon Sep 17 00:00:00 2001 From: Uwe Fechner Date: Sat, 23 Mar 2024 17:18:42 +0100 Subject: [PATCH] Next try... --- src/viewer3D.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/viewer3D.jl b/src/viewer3D.jl index 3c258f8..fc55296 100644 --- a/src/viewer3D.jl +++ b/src/viewer3D.jl @@ -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