From 8c5f4aa0f355e690248dc5f05a03d9d545d69444 Mon Sep 17 00:00:00 2001 From: Serge <5920850+seerge@users.noreply.github.com> Date: Sat, 27 Jan 2024 12:06:46 +0100 Subject: [PATCH] Handheld form behavior --- app/Settings.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Settings.cs b/app/Settings.cs index 65f64a5b..63a8aa16 100644 --- a/app/Settings.cs +++ b/app/Settings.cs @@ -1024,6 +1024,7 @@ namespace GHelper if (extraForm != null && extraForm.Text != "") extraForm.Close(); if (updatesForm != null && updatesForm.Text != "") updatesForm.Close(); if (matrixForm != null && matrixForm.Text != "") matrixForm.Close(); + if (handheldForm != null && handheldForm.Text != "") handheldForm.Close(); } /// @@ -1044,6 +1045,7 @@ namespace GHelper (extraForm != null && extraForm.ContainsFocus) || (updatesForm != null && updatesForm.ContainsFocus) || (matrixForm != null && matrixForm.ContainsFocus) || + (handheldForm != null && handheldForm.ContainsFocus) || this.ContainsFocus || (lostFocusCheck && Math.Abs(DateTimeOffset.Now.ToUnixTimeMilliseconds() - lastLostFocus) < 300); }