decrease maximum clip rect size for options list

This commit is contained in:
DeaTh-G 2025-02-08 21:04:05 +01:00
parent fff96a8528
commit bdb3937655

View file

@ -587,7 +587,7 @@ static bool DrawCategories()
if (g_isStage || (ImGui::GetTime() - g_appearTime) >= (CONTAINER_FULL_DURATION / 60.0)) if (g_isStage || (ImGui::GetTime() - g_appearTime) >= (CONTAINER_FULL_DURATION / 60.0))
{ {
drawList->PushClipRect({ clipRectMin.x, clipRectMin.y + gridSize * 6.0f }, { clipRectMax.x - gridSize, clipRectMax.y - gridSize }); drawList->PushClipRect({ clipRectMin.x, clipRectMin.y + gridSize * 6.0f }, { clipRectMax.x - gridSize, clipRectMax.y - gridSize - 5.0f });
return true; return true;
} }