Skip to content

Commit 7e3c813

Browse files
committed
GameRelations: Fix cover height setting not being applied
1 parent 75e7521 commit 7e3c813

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/Generic/GameRelations/PlayniteControls/GameRelationsBase.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<Border x:Name="Mask" Background="Black" CornerRadius="5" />
3131
<Image x:Name="CoverImage" Source="{Binding CoverImage}"
3232
VerticalAlignment="Center"
33-
Height="{Binding ElementName=MainGrid, Path=DataContext.CoversHeight}"
33+
Height="{Binding ElementName=MainGrid, Path=DataContext.Settings.CoversHeight}"
3434
RenderOptions.BitmapScalingMode="HighQuality" />
3535
<Border Background="#BF000000"
3636
Visibility="{Binding Game.IsInstalled, Converter={StaticResource InvertedBooleanToVisibilityConverter}}" />

source/Generic/GameRelations/PlayniteControls/GameRelationsBase.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ namespace GameRelations.PlayniteControls
3131
public partial class GameRelationsBase : PluginUserControl, INotifyPropertyChanged
3232
{
3333
protected IPlayniteAPI PlayniteApi { get; private set; }
34-
protected GameRelationsSettings Settings { get; private set; }
34+
public GameRelationsSettings Settings { get; private set; }
3535
public IGameRelationsControlSettings ControlSettings { get; private set; }
3636
public int CoversHeight => Settings.CoversHeight;
3737
private readonly BitmapImage _defaultCover;

0 commit comments

Comments
 (0)