Skip to content

Commit

Permalink
DetailsView: Added DuplicateHider extension selector to game details
Browse files Browse the repository at this point in the history
  • Loading branch information
darklinkpower committed Aug 9, 2023
1 parent 56fc6d2 commit 29bf40e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
1 change: 0 additions & 1 deletion source/DefaultControls/Button.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
<Setter Property="FontWeight" Value="Bold" />
<Setter Property="Cursor" Value="Hand" />
<Setter Property="Padding" Value="7,2,7,2" />
<Setter Property="Margin" Value="10,0,0,0" />
<Setter Property="VerticalAlignment" Value="Center" />
<Setter Property="Template">
<Setter.Value>
Expand Down
10 changes: 8 additions & 2 deletions source/DerivedStyles/GridViewItemTemplate.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@
Tag="{DynamicResource GridViewEnableCoverShineAnimation}" />
</Grid>
<Border Grid.Row="1" Background="{DynamicResource CoversButtonsBrush}" x:Name="BorderDarkFade" Visibility="Collapsed" />
<TextBlock Grid.Row="1" HorizontalAlignment="Right" VerticalAlignment="Top"
<TextBlock Grid.Row="1" HorizontalAlignment="Right" VerticalAlignment="Top" ClipToBounds="True"
Text="&#xF000;" Foreground="{DynamicResource GlyphBrush}"
Opacity="0.95" FontSize="16"
Opacity="0.90" FontSize="16"
Margin="8,5,5,5"
DockPanel.Dock="Right"
FontFamily="{DynamicResource FontIcoFont}"
Expand All @@ -101,6 +101,12 @@
<Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Tag}" Value="True" />
</MultiDataTrigger.Conditions>
<Setter Property="Visibility" Value="Visible" />
<Setter Property="Effect">
<Setter.Value>
<DropShadowEffect RenderingBias="Performance"
BlurRadius="6" ShadowDepth="0" Color="#000000" />
</Setter.Value>
</Setter>
</MultiDataTrigger>
</Style.Triggers>
</Style>
Expand Down
9 changes: 8 additions & 1 deletion source/Views/DetailsViewGameOverview.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,15 @@
</TextBlock.Effect>
</TextBlock>
</Border>

<ContentControl x:Name="DuplicateHider_SourceSelector"
DockPanel.Dock="Left" VerticalAlignment="Center"
VerticalContentAlignment="Center"
Margin="0,0,10,0"
Height="24"
RenderOptions.BitmapScalingMode="Fant" />

<ContentControl x:Name="CheckLocalizations_PluginFlags" Height="30" Margin="0,0,0,0"
<ContentControl x:Name="CheckLocalizations_PluginFlags" Height="30" Margin="0,0,10,0"
Visibility="{PluginSettings Plugin=CheckLocalizations, Path=EnableIntegrationFlags, FallbackValue=Collapsed, Converter={StaticResource BooleanToVisibilityConverter}}"
HorizontalAlignment="Left" VerticalAlignment="Center"
Opacity="0.85" />
Expand Down

0 comments on commit 29bf40e

Please sign in to comment.