Hide UI rework/arrow key fix (#2504)

* Unbreak arrow keys

* Use bitshift for Flags instead of literal
This commit is contained in:
ooa113y 2021-08-05 00:28:19 +03:00 committed by GitHub
parent 5ceaf344ce
commit 46ffc81d90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 43 additions and 21 deletions

View file

@ -6,7 +6,6 @@
<property name="can_focus">False</property>
<property name="title" translatable="yes">Ryujinx</property>
<property name="window_position">center</property>
<signal name="key-release-event" handler="Focus_Menu_Bar" swapped="no" />
<child>
<object class="GtkBox" id="_box">
<property name="visible">True</property>
@ -15,7 +14,7 @@
<child>
<object class="GtkMenuBar" id="_menuBar">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkMenuItem" id="_fileMenu">
<property name="visible">True</property>
@ -343,7 +342,7 @@
<object class="GtkMenuItem" id="_hideUi">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Hide UI (Alt to show)</property>
<property name="label" translatable="yes">Hide UI (SHOWUIKEY to show)</property>
<property name="use_underline">True</property>
<signal name="activate" handler="HideUi_Pressed" swapped="no" />
</object>