Merge branch 'sdl_asset_popup_focus_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-sdl_asset_popup_focus_fix

This commit is contained in:
2026-08-08 05:34:15 +02:00
2 changed files with 4 additions and 0 deletions
@@ -299,7 +299,9 @@ namespace FlaxEditor.GUI.ContextMenu
PerformLayout();
if (UseVisibilityControl)
{
#if !PLATFORM_SDL
_previouslyFocused = parentWin.FocusedControl;
#endif
Focus();
OnShow();
}
+2
View File
@@ -768,9 +768,11 @@ namespace FlaxEditor.Windows
_newElement.Dispose();
_newElement = null;
#if !PLATFORM_SDL
// Focus content window
Focus();
RootWindow?.Focus();
#endif
}
// Refresh database and view now