Fix minor issues

This commit is contained in:
Wojciech Figat
2021-12-08 16:53:44 +01:00
parent 55c015de4b
commit c35465b274
3 changed files with 2 additions and 11 deletions

View File

@@ -737,7 +737,6 @@ namespace FlaxEditor.Modules
_windowsLayoutPath = StringUtils.CombinePaths(Globals.ProjectCacheFolder, "WindowsLayout.xml");
// Create main window
var dpiScale = Platform.DpiScale;
var settings = CreateWindowSettings.Default;
settings.Title = "Flax Editor";
settings.Size = Platform.DesktopSize;

View File

@@ -327,14 +327,6 @@ namespace FlaxEditor.Windows
_isUpdatingSelection = false;
}
private static bool ValidateDragActor(ActorNode actorNode)
{
// Reject dragging actors not linked to scene (eg. from prefab)
if (actorNode.ParentScene == null)
return false;
return true;
}
private bool ValidateDragAsset(AssetItem assetItem)
{
return assetItem.OnEditorDrag(this);

View File

@@ -221,8 +221,8 @@ public:
/// <summary>
/// Sets the fixed FPS for game logic updates (draw and update).
/// </summary>
/// <param name="enable">>True if enable this feature, otherwise false.</param>
/// <param name="value">>The fixed draw/update rate for the time.</param>
/// <param name="enable">True if enable this feature, otherwise false.</param>
/// <param name="value">The fixed draw/update rate for the time.</param>
API_FUNCTION() static void SetFixedDeltaTime(bool enable, float value);
private: