File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed
Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 6565 InheritsTransform =" True" >
6666 <Border Background =" {DynamicResource Brush.Contents}"
6767 BorderThickness =" 1"
68- BorderBrush =" {DynamicResource Brush.Border1 }"
68+ BorderBrush =" {DynamicResource Brush.Accent }"
6969 CornerRadius =" 4"
7070 Padding =" 4"
7171 HorizontalAlignment =" Stretch" >
Original file line number Diff line number Diff line change @@ -39,15 +39,6 @@ public Models.Branch SelectedBranch
3939 set => SetValue ( SelectedBranchProperty , value ) ;
4040 }
4141
42- public static readonly StyledProperty < bool > UseFriendlyNameProperty =
43- AvaloniaProperty . Register < BranchSelector , bool > ( nameof ( UseFriendlyName ) ) ;
44-
45- public bool UseFriendlyName
46- {
47- get => GetValue ( UseFriendlyNameProperty ) ;
48- set => SetValue ( UseFriendlyNameProperty , value ) ;
49- }
50-
5142 public static readonly StyledProperty < bool > IsDropDownOpenedProperty =
5243 AvaloniaProperty . Register < BranchSelector , bool > ( nameof ( IsDropDownOpened ) ) ;
5344
@@ -93,6 +84,7 @@ protected override void OnPropertyChanged(AvaloniaPropertyChangedEventArgs chang
9384 var visible = new List < Models . Branch > ( ) ;
9485 var oldSelection = SelectedBranch ;
9586 var keepSelection = false ;
87+
9688 foreach ( var b in Branches )
9789 {
9890 if ( b . FriendlyName . Contains ( SearchFilter , StringComparison . OrdinalIgnoreCase ) )
You can’t perform that action at this time.
0 commit comments