Skip to content

Commit

Permalink
Final version
Browse files Browse the repository at this point in the history
  • Loading branch information
clover-yan authored May 11, 2023
1 parent defdb64 commit 7e9cc8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DateCountdown/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ private void Window_Loaded(object sender, RoutedEventArgs e)

if (App.StartArgs.Contains("-b"))
{
TextBlockTitle.Effect = AfterText.Effect = TextBlockCopyright.Effect = new DropShadowEffect { Color = light ? Color.FromArgb((alpha ? 128 : 255), 0, 0, 0) : Color.FromArgb((alpha ? 128 : 255), 255, 255, 255), Direction = 320, ShadowDepth = 0, BlurRadius = 5 };
TextBlockDays.Effect = TextBlockDaysDetails.Effect = new DropShadowEffect { Color = light ? Color.FromArgb((alpha ? 128 : 255), 255, 255, 255) : Color.FromArgb((alpha ? 128 : 255), 0, 0, 0), Direction = 320, ShadowDepth = 0, BlurRadius = 5 };
TextBlockTitle.Effect = AfterText.Effect = TextBlockCopyright.Effect = new DropShadowEffect { Color = light ? Colors.Black : Colors.White, Direction = 320, ShadowDepth = 0, BlurRadius = alpha ? 10 : 5 };
TextBlockDays.Effect = TextBlockDaysDetails.Effect = new DropShadowEffect { Color = light ? Colors.White : Colors.Black, Direction = 320, ShadowDepth = 0, BlurRadius = alpha ? 10 : 5 };
}

if (App.StartArgs.Contains("-p"))
Expand Down

0 comments on commit 7e9cc8b

Please sign in to comment.