1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-22 09:38:01 +02:00

Initial console support

This commit is contained in:
Brian Fiete 2024-07-19 10:31:33 +02:00
parent 45a5978611
commit 186c2125fa
21 changed files with 1244 additions and 29 deletions

View file

@ -394,7 +394,7 @@ namespace IDE.ui
{
var focusedListViewItem = GetRoot().FindFocusedItem();
bool changeFocus = (keyCode == .Tab) && (mWidgetWindow.GetKeyFlags() == .None);
bool changeFocus = (keyCode == .Tab) && (mWidgetWindow.GetKeyFlags(true) == .None);
if ((keyCode == .Right) && ((focusedListViewItem == null) || (focusedListViewItem.GetChildCount() == 0)))
changeFocus = true;
@ -454,7 +454,7 @@ namespace IDE.ui
{
var propertiesDialog = (PropertiesDialog)mParent;
let keyFlags = mWidgetWindow.GetKeyFlags();
let keyFlags = mWidgetWindow.GetKeyFlags(true);
bool changeFocus = (keyCode == .Tab) && (keyFlags == .Shift);
if (keyCode == .Left)
{