1
0
Fork 0
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:
Brian Fiete 2024-10-24 11:33:33 -04:00
parent 95a831a785
commit 7718705646
2 changed files with 6 additions and 6 deletions

View file

@ -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)
{