Skip to content

Commit

Permalink
Hide title bar hack window offscreen
Browse files Browse the repository at this point in the history
  • Loading branch information
ScrubN committed Aug 2, 2023
1 parent 6d4dc4b commit 4415978
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion TwitchDownloaderWPF/Services/ThemeService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 4415978

Please sign in to comment.