Skip to content

Commit

Permalink
drawing lines at startup adapted
Browse files Browse the repository at this point in the history
  • Loading branch information
chrxh committed Jul 19, 2023
1 parent 0a2af91 commit 73d95cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/Gui/StartupController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 73d95cf

Please sign in to comment.