mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-26 20:31:41 +00:00
Adjust scroll bar padding.
This commit is contained in:
parent
db6f54c9f7
commit
4f1038489c
1 changed files with 3 additions and 3 deletions
|
|
@ -345,7 +345,7 @@ static void DrawCategories()
|
|||
ResetGradient();
|
||||
}
|
||||
|
||||
drawList->PushClipRect({ clipRectMin.x, clipRectMin.y + gridSize * 6.0f }, { clipRectMax.x - gridSize * 2.0f, clipRectMax.y });
|
||||
drawList->PushClipRect({ clipRectMin.x, clipRectMin.y + gridSize * 6.0f }, { clipRectMax.x - gridSize, clipRectMax.y });
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
|
|
@ -553,8 +553,8 @@ static void DrawConfigOptions()
|
|||
float minY = offsetRatio * totalHeight + clipRectMin.y;
|
||||
|
||||
drawList->AddRectFilled(
|
||||
{ clipRectMax.x + gridSize, minY },
|
||||
{ clipRectMax.x + gridSize * 2.0f, minY + totalHeight * heightRatio },
|
||||
{ clipRectMax.x, minY },
|
||||
{ clipRectMax.x + gridSize, minY + totalHeight * heightRatio },
|
||||
IM_COL32(0, 128, 0, 255)
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue