mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-26 03:28:02 +02:00
HeldKey fixes for CapsLock/NumLock
This commit is contained in:
parent
95a831a785
commit
7718705646
2 changed files with 6 additions and 6 deletions
|
@ -359,7 +359,7 @@ namespace IDE.ui
|
|||
mSearchEdit = new DarkEditWidget();
|
||||
mSearchEdit.mOnKeyDown.Add(new (evt) =>
|
||||
{
|
||||
if ((evt.mKeyCode == .Tab) && (evt.mKeyFlags == 0))
|
||||
if ((evt.mKeyCode == .Tab) && (evt.mKeyFlags.HeldKeys == 0))
|
||||
{
|
||||
mTypeLV.SetFocus();
|
||||
}
|
||||
|
@ -458,7 +458,7 @@ namespace IDE.ui
|
|||
default:
|
||||
}
|
||||
|
||||
if (evt.mKeyFlags == .Ctrl)
|
||||
if (evt.mKeyFlags.HeldKeys == .Ctrl)
|
||||
{
|
||||
switch (evt.mKeyCode)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue