Fix minor issues
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user