From bbc221086abab1a9491bf698de2229a4a18440ba Mon Sep 17 00:00:00 2001 From: Chandler Cox Date: Fri, 25 Apr 2025 17:55:07 -0500 Subject: [PATCH] Fix GUI input when edit GUI option is false and game is being played. --- Source/Editor/Windows/GameWindow.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Editor/Windows/GameWindow.cs b/Source/Editor/Windows/GameWindow.cs index 02d4b8351..b117eaa3d 100644 --- a/Source/Editor/Windows/GameWindow.cs +++ b/Source/Editor/Windows/GameWindow.cs @@ -292,7 +292,7 @@ namespace FlaxEditor.Windows private class GameRoot : UIEditorRoot { internal bool Editable = true; - public override bool EnableInputs => !Time.GamePaused && Editor.IsPlayMode && Editable; + public override bool EnableInputs => !Time.GamePaused && (Editor.IsPlayMode || Editable); public override bool EnableSelecting => (!Editor.IsPlayMode || Time.GamePaused) && Editable; public override TransformGizmo TransformGizmo => Editor.Instance.MainTransformGizmo; }