Demo: Removed redundant window flag (#5367)

This commit is contained in:
JJCUBER 2022-06-02 08:32:43 -04:00 committed by GitHub
parent 7354009a73
commit 17b8c3b6ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7358,7 +7358,7 @@ static void ShowExampleAppSimpleOverlay(bool* p_open)
static void ShowExampleAppFullscreen(bool* p_open)
{
static bool use_work_area = true;
static ImGuiWindowFlags flags = ImGuiWindowFlags_NoDecoration | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoSavedSettings;
static ImGuiWindowFlags flags = ImGuiWindowFlags_NoDecoration | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoSavedSettings;
// We demonstrate using the full viewport area or the work area (without menu-bars, task-bars etc.)
// Based on your use case you may want one of the other.