Skip to content

Commit

Permalink
Adjusted color of selected preset in map list box
Browse files Browse the repository at this point in the history
  • Loading branch information
Exactol committed Dec 11, 2022
1 parent b2f94bd commit 0ae23ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CompilePalX/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@
</DockPanel>
<DataTemplate.Triggers>
<DataTrigger Binding="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type ListBoxItem}}, Path=IsSelected}" Value="True">
<Setter Property="Foreground" Value="{StaticResource MahApps.Brushes.Gray8}" TargetName="selectedPreset"/>
<Setter Property="Opacity" Value="0.7" TargetName="selectedPreset"/>
<Setter Property="Foreground" Value="{StaticResource MahApps.Brushes.IdealForeground}" TargetName="selectedPreset"/>
</DataTrigger>
</DataTemplate.Triggers>
</DataTemplate>
Expand Down

0 comments on commit 0ae23ed

Please sign in to comment.