mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-06-28 08:56:24 +02:00
Fix fullscreen when using 'Show Title Bar' (#150)
This commit is contained in:
parent
20cc21add6
commit
47b8145809
2 changed files with 9 additions and 7 deletions
|
@ -1776,6 +1776,7 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||
if (WindowState is not WindowState.Normal)
|
||||
{
|
||||
WindowState = WindowState.Normal;
|
||||
Window.TitleBar.ExtendsContentIntoTitleBar = !ConfigurationState.Instance.ShowTitleBar;
|
||||
|
||||
if (IsGameRunning)
|
||||
{
|
||||
|
@ -1785,6 +1786,7 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||
else
|
||||
{
|
||||
WindowState = WindowState.FullScreen;
|
||||
Window.TitleBar.ExtendsContentIntoTitleBar = true;
|
||||
|
||||
if (IsGameRunning)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue