소스 검색

More #nullable enable

Tig 11 달 전
부모
커밋
28b1326620
1개의 변경된 파일1개의 추가작업 그리고 6개의 파일을 삭제
  1. 1 6
      Terminal.Gui/View/Adornment/Border.cs

+ 1 - 6
Terminal.Gui/View/Adornment/Border.cs

@@ -149,12 +149,7 @@ public class Border : Adornment
                 return base.ColorScheme;
             }
 
-            if (Parent?.ColorScheme is { })
-            {
-                return Parent.ColorScheme;
-            }
-
-            return null;
+            return Parent?.ColorScheme;
         }
         set
         {