mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-31 04:25:40 +00:00
Fixed an issue where the last row of grids with fractionalRows set to true would sometimes not render correctly
This commit is contained in:
parent
531c72cfb7
commit
00e6908ccd
|
@ -675,7 +675,7 @@ template <typename T> void GridComponent<T>::render(const glm::mat4& parentTrans
|
|||
int loadedItems {0};
|
||||
|
||||
if (currRow > 0) {
|
||||
if (GuiComponent::isAnimationPlaying(0) || mItemSpacing.y < mVerticalMargin) {
|
||||
if (GuiComponent::isAnimationPlaying(0) || mItemSpacing.y <= mVerticalMargin) {
|
||||
loadItems += mColumns;
|
||||
startPos = (currRow - 1) * mColumns;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue