Merge remote-tracking branch 'origin/master' into sdl_platform
This commit is contained in:
@@ -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;
|
||||
public override bool EnableSelecting => (!Editor.IsPlayMode || Time.GamePaused) && Editable;
|
||||
public override TransformGizmo TransformGizmo => Editor.Instance.MainTransformGizmo;
|
||||
}
|
||||
@@ -305,6 +305,7 @@ namespace FlaxEditor.Windows
|
||||
: base(editor, true, ScrollBars.None)
|
||||
{
|
||||
Title = "Game";
|
||||
Icon = editor.Icons.Play64;
|
||||
AutoFocus = true;
|
||||
|
||||
var task = MainRenderTask.Instance;
|
||||
|
||||
Reference in New Issue
Block a user