From 73d95cfbca93cb9d08dd5ddc041164991588621a Mon Sep 17 00:00:00 2001 From: Christian Heinemann Date: Wed, 19 Jul 2023 17:01:39 +0200 Subject: [PATCH] drawing lines at startup adapted --- source/Gui/StartupController.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/Gui/StartupController.cpp b/source/Gui/StartupController.cpp index 30e318db9..5ae4ecb3e 100644 --- a/source/Gui/StartupController.cpp +++ b/source/Gui/StartupController.cpp @@ -130,7 +130,9 @@ void _StartupController::processWindow() ImGui::Image((void*)(intptr_t)_logo.textureId, ImVec2(_logo.width * imageScale, _logo.height * imageScale)); ImGui::End(); - drawGrid(); + if (_state == State::Unintialized || _state == State::RequestLoading) { + drawGrid(); + } ImDrawList* drawList = ImGui::GetBackgroundDrawList(); ImColor textColor = Const::ProgramVersionColor;