Add option to show the title bar #101

Merged
LukeWarnut merged 7 commits from window-title into master 2024-10-30 07:22:22 +00:00
Showing only changes of commit 9a2d2b7aa3 - Show all commits

View File

@ -83,7 +83,7 @@ namespace Ryujinx.Ava.UI.Windows
ViewModel.Title = App.FormatTitle();
TitleBar.ExtendsContentIntoTitleBar = !ConfigurationState.Instance.ShowTitleBar;
TitleBar.TitleBarHitTestType = TitleBarHitTestType.Complex;
TitleBar.TitleBarHitTestType = (ConfigurationState.Instance.ShowTitleBar) ? TitleBarHitTestType.Simple : TitleBarHitTestType.Complex;
// NOTE: Height of MenuBar and StatusBar is not usable here, since it would still be 0 at this point.
StatusBarHeight = StatusBarView.StatusBar.MinHeight;