mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-28 03:32:15 -05:00
Do not treat right alt key as a modifier for key combos
This commit is contained in:
parent
6639d0f23b
commit
92bad0fa1e
@ -949,7 +949,7 @@ public class ConversationActivity extends XmppActivity
|
|||||||
upKey = KeyEvent.KEYCODE_DPAD_UP;
|
upKey = KeyEvent.KEYCODE_DPAD_UP;
|
||||||
downKey = KeyEvent.KEYCODE_DPAD_DOWN;
|
downKey = KeyEvent.KEYCODE_DPAD_DOWN;
|
||||||
}
|
}
|
||||||
final boolean modifier = event.isCtrlPressed() || event.isAltPressed();
|
final boolean modifier = event.isCtrlPressed() || (event.getMetaState() & KeyEvent.META_ALT_LEFT_ON) != 0;
|
||||||
if (modifier && key == KeyEvent.KEYCODE_TAB && isConversationsOverviewHideable()) {
|
if (modifier && key == KeyEvent.KEYCODE_TAB && isConversationsOverviewHideable()) {
|
||||||
toggleConversationsOverview();
|
toggleConversationsOverview();
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user