mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-29 01:07:58 +01:00
Tweaked validation logic
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user