瀏覽代碼

Fix the indentation

Abdulbaqi Alshareef 6 年之前
父節點
當前提交
85fe3f23f4
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      src/Avalonia.Controls/Presenters/TextPresenter.cs
  2. 2 2
      src/Avalonia.Controls/TextBox.cs

+ 2 - 2
src/Avalonia.Controls/Presenters/TextPresenter.cs

@@ -20,10 +20,10 @@ namespace Avalonia.Controls.Presenters
             AvaloniaProperty.Register<TextPresenter, char>(nameof(PasswordChar));
 
         public static readonly StyledProperty<IBrush> SelectionBrushProperty =
-           AvaloniaProperty.Register<TextPresenter, IBrush>(nameof(SelectionBrushProperty));
+            AvaloniaProperty.Register<TextPresenter, IBrush>(nameof(SelectionBrushProperty));
 
         public static readonly StyledProperty<IBrush> SelectionForegroundBrushProperty =
-        AvaloniaProperty.Register<TextPresenter, IBrush>(nameof(SelectionForegroundBrushProperty));
+            AvaloniaProperty.Register<TextPresenter, IBrush>(nameof(SelectionForegroundBrushProperty));
 
         public static readonly DirectProperty<TextPresenter, int> SelectionStartProperty =
             TextBox.SelectionStartProperty.AddOwner<TextPresenter>(

+ 2 - 2
src/Avalonia.Controls/TextBox.cs

@@ -39,10 +39,10 @@ namespace Avalonia.Controls
             AvaloniaProperty.Register<TextBox, char>(nameof(PasswordChar));
 
         public static readonly StyledProperty<IBrush> SelectionBrushProperty =
-           AvaloniaProperty.Register<TextBox, IBrush>(nameof(SelectionBrushProperty));
+            AvaloniaProperty.Register<TextBox, IBrush>(nameof(SelectionBrushProperty));
 
         public static readonly StyledProperty<IBrush> SelectionForegroundBrushProperty =
-        AvaloniaProperty.Register<TextBox, IBrush>(nameof(SelectionForegroundBrushProperty));
+            AvaloniaProperty.Register<TextBox, IBrush>(nameof(SelectionForegroundBrushProperty));
 
         public static readonly DirectProperty<TextBox, int> SelectionStartProperty =
             AvaloniaProperty.RegisterDirect<TextBox, int>(