mirror of
https://github.com/GreemDev/Ryujinx
synced 2024-12-22 03:46:39 +01:00
UI: Attach dev tools in debug.
This commit is contained in:
parent
c2f6d5d029
commit
9a1bdaae16
1 changed files with 5 additions and 1 deletions
|
@ -170,6 +170,10 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||
SwitchToGameControl = switchToGameControl;
|
||||
SetMainContent = setMainContent;
|
||||
TopLevel = topLevel;
|
||||
|
||||
#if DEBUG
|
||||
topLevel.AttachDevTools(new KeyGesture(Avalonia.Input.Key.F12, KeyModifiers.Control));
|
||||
#endif
|
||||
}
|
||||
|
||||
#region Properties
|
||||
|
@ -1434,7 +1438,7 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||
{
|
||||
if (IsGameRunning)
|
||||
{
|
||||
ConfigurationState.Instance.System.EnableDockedMode.Value = !ConfigurationState.Instance.System.EnableDockedMode.Value;
|
||||
ConfigurationState.Instance.System.EnableDockedMode.Toggle();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue