Pārlūkot izejas kodu

Tweaked validation logic

Tig 1 gadu atpakaļ
vecāks
revīzija
edeb11e239
1 mainītis faili ar 6 papildinājumiem un 0 dzēšanām
  1. 6 0
      Terminal.Gui/View/Layout/ViewLayout.cs

+ 6 - 0
Terminal.Gui/View/Layout/ViewLayout.cs

@@ -1107,6 +1107,9 @@ public partial class View
 
             switch (checkPosDim)
             {
+                case Pos pos and PosAnchorEnd:
+                    break;
+
                 case Pos pos and not PosAbsolute and not PosView and not PosCombine:
                     bad = pos;
 
@@ -1122,6 +1125,9 @@ public partial class View
                 case Dim dim and DimAuto:
                     break;
 
+                case Dim dim and DimFill:
+                    break;
+
                 case Dim dim and not DimAbsolute and not DimView and not DimCombine:
                     bad = dim;