From e60dfe290529ca4e62cc646fae1aee3c1a6152f3 Mon Sep 17 00:00:00 2001 From: BDisp Date: Tue, 16 Jun 2020 15:07:11 +0100 Subject: [PATCH] Fixes #683 Resizing issue and Unix change colors. (#697) --- UICatalog/UICatalog.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/UICatalog/UICatalog.cs b/UICatalog/UICatalog.cs index bdfa43b9f..dc8e62f7e 100644 --- a/UICatalog/UICatalog.cs +++ b/UICatalog/UICatalog.cs @@ -87,6 +87,8 @@ namespace UICatalog { scenario.Run (); scenario = GetScenarioToRun (); } + if (!_top.Running) + Application.Shutdown (true); } /// @@ -118,8 +120,8 @@ namespace UICatalog { } }; - Application.Run (_top, true); - Application.Shutdown (); + Application.Run (_top, false); + Application.Shutdown (false); return _runningScenario; }