- Implemented shift tab support for Container Controls

This commit is contained in:
Nils Hausfeld
2023-09-23 11:56:45 +02:00
parent 248304a78f
commit 963300c2cb
5 changed files with 35 additions and 8 deletions

View File

@@ -207,7 +207,8 @@ namespace FlaxEditor.Windows
case KeyboardKeys.Tab:
if (CanUseNavigation && Root != null)
{
Root.Navigate(NavDirection.Next);
bool shiftDown = Root.GetKey(KeyboardKeys.Shift);
Root.Navigate(shiftDown ? NavDirection.Previous : NavDirection.Next);
return true;
}
break;