浏览代码

Fix the indentation

Abdulbaqi Alshareef 6 年之前
父节点
当前提交
e02de6cbb6
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/Avalonia.Controls/Presenters/TextPresenter.cs
  2. 1 1
      src/Avalonia.Controls/TextBox.cs

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

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

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

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