respect window scaling

This commit is contained in:
DeaTh-G 2025-02-08 22:03:46 +01:00
parent bdb3937655
commit aa3a6cf7ec

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 - 5.0f }); drawList->PushClipRect({ clipRectMin.x, clipRectMin.y + gridSize * 6.0f }, { clipRectMax.x - gridSize, clipRectMax.y - gridSize - Scale(5.0f) });
return true; return true;
} }