From 441597886278ef8d4af43dcb5f8b6c757f225e95 Mon Sep 17 00:00:00 2001 From: ScrubN <72096833+ScrubN@users.noreply.github.com> Date: Wed, 2 Aug 2023 18:39:13 -0400 Subject: [PATCH] Hide title bar hack window offscreen --- TwitchDownloaderWPF/Services/ThemeService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TwitchDownloaderWPF/Services/ThemeService.cs b/TwitchDownloaderWPF/Services/ThemeService.cs index 9b97d19f..fa59197d 100644 --- a/TwitchDownloaderWPF/Services/ThemeService.cs +++ b/TwitchDownloaderWPF/Services/ThemeService.cs @@ -94,7 +94,8 @@ public void SetTitleBarTheme(WindowCollection windows) Window wnd = new() { - SizeToContent = SizeToContent.WidthAndHeight + SizeToContent = SizeToContent.WidthAndHeight, + Top = int.MinValue + 1, }; wnd.Show(); wnd.Close();