Check toggle visible key from profiler
This commit is contained in:
parent
e88c24f098
commit
f0626920f2
1 changed files with 7 additions and 0 deletions
|
@ -680,6 +680,13 @@ namespace Ryujinx.Profiler.UI
|
|||
|
||||
protected override void OnKeyUp(KeyboardKeyEventArgs e)
|
||||
{
|
||||
// Can't go into switch as value isn't constant
|
||||
if (e.Key == Profile.Controls.Buttons.ToggleProfiler)
|
||||
{
|
||||
ToggleVisible();
|
||||
return;
|
||||
}
|
||||
|
||||
switch (e.Key)
|
||||
{
|
||||
case Key.BackSpace:
|
||||
|
|
Loading…
Add table
Reference in a new issue