Skip to content

Commit c93781e

Browse files
committed
Tweaks to background colour and fixes flickering when loading steam background images. Tweaks database "Last Updated" datetime layout
1 parent 4d04432 commit c93781e

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

CompactGUI/MainWindow.xaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@
103103
Margin="0" Panel.ZIndex="-1"
104104
ClipToBounds="True">
105105

106+
<Border Background="#263340"/>
106107
<Border>
107108
<Border.Background>
108109
<LinearGradientBrush Opacity="0.4" StartPoint="0,0.5" EndPoint="0.2,1">
@@ -114,13 +115,13 @@
114115
<local:ImageControl x:Name="SteamBg"
115116
Height="{Binding ActualHeight, ElementName=MainWindow}"
116117
Margin="-75" HorizontalAlignment="Center" VerticalAlignment="Center"
117-
ClipToBounds="True"
118+
ClipToBounds="True"
118119
NewSource="{Binding BackgroundImage}"
119120
Opacity="1" Stretch="UniformToFill">
120121

121122
<local:ImageControl.RenderTransform>
122123
<TransformGroup>
123-
<ScaleTransform ScaleX="2" ScaleY="1.2" />
124+
<ScaleTransform ScaleX="2" ScaleY="2" />
124125
</TransformGroup>
125126

126127
</local:ImageControl.RenderTransform>
@@ -132,20 +133,20 @@
132133
<BeginStoryboard>
133134
<Storyboard>
134135

135-
<DoubleAnimation Storyboard.TargetProperty="(Image.Opacity)" From="0" To="0.6" Duration="0:0:2">
136+
<DoubleAnimation Storyboard.TargetProperty="(Image.Opacity)" From="0" To="0.6" Duration="0:0:0.5">
136137
<DoubleAnimation.EasingFunction>
137138
<QuadraticEase EasingMode="EaseInOut" />
138139
</DoubleAnimation.EasingFunction>
139140
</DoubleAnimation>
140-
<DoubleAnimation Storyboard.TargetProperty="(Effect).Radius" From="100" To="12" Duration="0:0:5" />
141+
<DoubleAnimation Storyboard.TargetProperty="(Effect).Radius" From="100" To="14" Duration="0:0:5" />
141142
<DoubleAnimation Storyboard.TargetProperty="(RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)"
142-
From="2" To="1.0" Duration="0:0:6">
143+
From="2" To="1.2" Duration="0:0:6">
143144
<DoubleAnimation.EasingFunction>
144145
<QuinticEase EasingMode="EaseOut" />
145146
</DoubleAnimation.EasingFunction>
146147
</DoubleAnimation>
147148
<DoubleAnimation Storyboard.TargetProperty="(RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)"
148-
From="1.2" To="1.00" Duration="0:0:8">
149+
From="2" To="1.2" Duration="0:0:8">
149150
<DoubleAnimation.EasingFunction>
150151
<QuinticEase EasingMode="EaseOut" />
151152
</DoubleAnimation.EasingFunction>

CompactGUI/Views/Pages/DatabasePage.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
Foreground="{StaticResource CardForeground}"
2525
Visibility="Visible" />
2626

27-
<TextBlock Grid.Row="2" Text="{Binding LastUpdatedDatabase, StringFormat=Last Fetched: {0}}" HorizontalAlignment="Right" VerticalAlignment="Top" Foreground="#10FFFFFF" Margin="0 0 0 0 " FontSize="12"/>
27+
<TextBlock Grid.Row="2" Text="{Binding LastUpdatedDatabase, StringFormat=Last Fetched: {0:dd MMM yyy HH:mm:ss}}" HorizontalAlignment="Right" VerticalAlignment="Top" Foreground="#10FFFFFF" Margin="0 0 0 0 " FontSize="12"/>
2828

2929
<TextBlock Grid.Row="1"
3030
HorizontalAlignment="Left" VerticalAlignment="Center"

0 commit comments

Comments
 (0)