소스 검색

Toplevel drag via Adornment finished

Tig Kindel 1 년 전
부모
커밋
2ac0fc9063
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  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