Skip to content

Commit

Permalink
Don't show background color on hovering over CpuView
Browse files Browse the repository at this point in the history
  • Loading branch information
tr4wzified committed Dec 8, 2024
1 parent af534b1 commit 0d6a79a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Wabbajack.App.Wpf/Themes/Styles.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@
<SolidColorBrush x:Key="ListBorder" Color="{StaticResource DarkBackgroundColor}" />
<SolidColorBrush x:Key="ListBackground" Color="{StaticResource ComplementaryPrimary08}" />
<SolidColorBrush x:Key="SelectedListItem" Color="{StaticResource ComplementaryPrimary16}" />
<SolidColorBrush x:Key="SelectedListItemForeground" Color="{StaticResource DarkBackgroundColor}" />
<SolidColorBrush x:Key="SelectedListItemForeground" Color="{StaticResource Primary}" />
<SolidColorBrush x:Key="MouseOverListItem" Color="{StaticResource ComplementaryPrimary16}" />

<SolidColorBrush x:Key="TreeViewBackground" Color="{StaticResource ComplementaryPrimary08}" />
Expand Down
10 changes: 5 additions & 5 deletions Wabbajack.App.Wpf/Views/Common/CpuView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<ListBox Grid.Row="0"
<ItemsControl Grid.Row="0"
x:Name="CpuListControl"
HorizontalContentAlignment="Stretch"
ScrollViewer.HorizontalScrollBarVisibility="Disabled"
Background="Transparent"
BorderBrush="Transparent"
BorderThickness="0">
<ListBox.ItemTemplate>
<ItemsControl.ItemTemplate>
<DataTemplate>
<local:CpuLineView Margin="0, 8, 0, 0" ViewModel="{Binding}" />
<local:CpuLineView Margin="0, 0, 0, 8" ViewModel="{Binding}" />
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
</ItemsControl.ItemTemplate>
</ItemsControl>
</Grid>
</Grid>
</local:UserControlRx>

0 comments on commit 0d6a79a

Please sign in to comment.