feat: add default for flags

This commit is contained in:
goat 2021-04-05 18:12:24 +02:00
parent 52150ec677
commit 63a289f769

View file

@ -20,7 +20,7 @@ namespace Dalamud.Interface.Windowing
/// </param>
/// <param name="flags">The <see cref="ImGuiWindowFlags"/> of this window.</param>
/// <param name="forceMainWindow">Whether or not this window should be limited to the main game window.</param>
protected Window(string name, ImGuiWindowFlags flags, bool forceMainWindow = false)
protected Window(string name, ImGuiWindowFlags flags = ImGuiWindowFlags.None, bool forceMainWindow = false)
{
this.WindowName = name;
this.Flags = flags;