Merge branch 'window_flicker_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-window_flicker_fix
This commit is contained in:
@@ -476,6 +476,7 @@ namespace FlaxEditor.GUI.Docking
|
|||||||
settings.ShowInTaskbar = false;
|
settings.ShowInTaskbar = false;
|
||||||
settings.ActivateWhenFirstShown = false;
|
settings.ActivateWhenFirstShown = false;
|
||||||
settings.IsTopmost = true;
|
settings.IsTopmost = true;
|
||||||
|
settings.ShowAfterFirstPaint = false;
|
||||||
|
|
||||||
win = Platform.CreateWindow(ref settings);
|
win = Platform.CreateWindow(ref settings);
|
||||||
|
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ namespace FlaxEngine
|
|||||||
AllowDragAndDrop = true,
|
AllowDragAndDrop = true,
|
||||||
IsRegularWindow = true,
|
IsRegularWindow = true,
|
||||||
HasSizingFrame = true,
|
HasSizingFrame = true,
|
||||||
|
ShowAfterFirstPaint = true,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -131,7 +131,7 @@ DECLARE_SCRIPTING_TYPE_MINIMAL(CreateWindowSettings);
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Enable/disable window auto-show after the first paint.
|
/// Enable/disable window auto-show after the first paint.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
API_FIELD() bool ShowAfterFirstPaint = false;
|
API_FIELD() bool ShowAfterFirstPaint = true;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The custom data (platform dependant).
|
/// The custom data (platform dependant).
|
||||||
|
|||||||
Reference in New Issue
Block a user