Skip to content

Commit

Permalink
Fix BackgroundImagePath not respecting BackgroundOpacity
Browse files Browse the repository at this point in the history
  • Loading branch information
danielchalmers committed Jan 3, 2025
1 parent 697154d commit 0e8ddd5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DesktopClock/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@
<DataTrigger.Setters>
<Setter Property="Background">
<Setter.Value>
<ImageBrush ImageSource="{Binding BackgroundImagePath, Source={x:Static p:Settings.Default}, Mode=OneWay}" />
<ImageBrush Opacity="{Binding BackgroundOpacity, Source={x:Static p:Settings.Default}, Mode=OneWay}"
ImageSource="{Binding BackgroundImagePath, Source={x:Static p:Settings.Default}, Mode=OneWay}" />
</Setter.Value>
</Setter>
</DataTrigger.Setters>
Expand Down

0 comments on commit 0e8ddd5

Please sign in to comment.