Browse Source

Toplevel drag via Adornment finished

Tig Kindel 1 year ago
parent
commit
2ac0fc9063
1 changed files with 4 additions and 4 deletions
  1. 4 4
      Terminal.Gui/Application.cs

+ 4 - 4
Terminal.Gui/Application.cs

@@ -1435,10 +1435,10 @@ public static partial class Application
         if (view is not Adornment)
         {
             if ((view is null || view == OverlappedTop)
-                    && Current is { Modal: false }
-                    && OverlappedTop != null
-                    && a.MouseEvent.Flags != MouseFlags.ReportMousePosition
-                    && a.MouseEvent.Flags != 0)
+                && Current is { Modal: false }
+                && OverlappedTop != null
+                && a.MouseEvent.Flags != MouseFlags.ReportMousePosition
+                && a.MouseEvent.Flags != 0)
             {
                 // This occurs when there are multiple overlapped "tops"
                 // E.g. "Mdi" - in the Background Worker Scenario