Merge pull request #3611 from fonaix/master

fix bug #3218  and optimize the background color display effect of the active row
pull/3613/head
2dust 2 years ago committed by GitHub
commit 73ad33dfc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -628,6 +628,7 @@
<DataTrigger Binding="{Binding isActive}" Value="True">
<Setter Property="Background" Value="{DynamicResource PrimaryHueLightBrush}" />
<Setter Property="Foreground" Value="Black" />
<Setter Property="BorderBrush" Value="{DynamicResource PrimaryHueLightBrush}" />
</DataTrigger>
</Style.Triggers>
</Style>

@ -34,6 +34,7 @@ namespace v2rayN.Views
lstProfiles.PreviewKeyDown += LstProfiles_PreviewKeyDown;
lstProfiles.SelectionChanged += lstProfiles_SelectionChanged;
lstProfiles.LoadingRow += LstProfiles_LoadingRow;
lstProfiles.RowHeaderWidth = 30;
if (_config.uiItem.enableDragDropSort)
{
lstProfiles.AllowDrop = true;

Loading…
Cancel
Save