Skip to content

Commit ab25ce8

Browse files
committed
use svg image for backicon
1 parent 11d9af3 commit ab25ce8

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

PlexampRPC.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
<Resource Include="Resources\Inter\Inter-VariableFont_opsz,wght.ttf" />
5050
<Resource Include="Resources\PlexIcon.png" />
5151
<Resource Include="Resources\PlexIcon.svg" />
52-
<Resource Include="Resources\PlexIconLight.svg" />
5352
<Resource Include="Resources\PlexPaused.png" />
5453
<Resource Include="Resources\Buttons\settings.svg" />
5554
<Resource Include="Resources\Buttons\terminal.svg" />

Resources/PlexIconLight.svg

Lines changed: 0 additions & 7 deletions
This file was deleted.

Windows/MainWindow.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
</Image.RenderTransform>
6464
</Image>
6565

66-
<Image x:Name="BackIcon" Grid.Column="0" Source="/Resources/PlexIcon.png" RenderOptions.BitmapScalingMode="HighQuality">
66+
<Image x:Name="BackIcon" Grid.Column="0" Source="{svgc:SvgImage Source=/Resources/PlexIcon.svg, AppName=PlexampRPC}">
6767
<Image.OpacityMask>
6868
<RadialGradientBrush GradientOrigin="0.5,0.5" Center="0.5,0.5" RadiusX="0.5" RadiusY="0.5">
6969
<GradientStop Color="#ffffffff" Offset="0.98" />
@@ -123,7 +123,7 @@
123123

124124
<StackPanel HorizontalAlignment="Left" VerticalAlignment="Center" DockPanel.Dock="Right" Margin="7 0 0 0">
125125
<TextBlock x:Name="PreviewL1" Text="Title" Foreground="#dddddd" FontSize="14" Height="18" VerticalAlignment="Top" FontFamily="/Resources/gg/#gg sans SemiBold"/>
126-
<TextBlock x:Name="PreviewL2" Text="Author" Foreground="#dddddd" FontSize="12" Height="18" VerticalAlignment="Top" FontFamily="/Resources/gg/#gg sans Normal"/>
126+
<TextBlock x:Name="PreviewL2" Text="Author" Foreground="#dddddd" FontSize="12" Height="18" VerticalAlignment="Top" FontFamily="/Resources/gg/#gg sans Normal" Margin="0 0 0 -2"/>
127127
<TextBlock x:Name="PreviewL3" Text="Album" Foreground="#dddddd" FontSize="12" Height="18" VerticalAlignment="Top" FontFamily="/Resources/gg/#gg sans Normal"/>
128128
<StackPanel Orientation="Horizontal" x:Name="PreviewTime" Margin="0 1 0 -2">
129129
<TextBlock x:Name="PreviewTimeStart" Text="00:00" Foreground="#dddddd" FontSize="12" Height="18" VerticalAlignment="Top" FontFamily="/Resources/gg/#gg sans mono"/>

0 commit comments

Comments
 (0)