Very minor code change.

This commit is contained in:
Leon Styhre 2022-09-21 22:05:21 +02:00
parent 7b7a99dbe2
commit 1e9b95baac

View file

@ -548,7 +548,8 @@ template <typename T> void CarouselComponent<T>::render(const glm::mat4& parentT
mRenderer->drawRect(0.0f, 0.0f, mSize.x, mSize.y, mCarouselColor, mCarouselColorEnd, mRenderer->drawRect(0.0f, 0.0f, mSize.x, mSize.y, mCarouselColor, mCarouselColorEnd,
mColorGradientHorizontal); mColorGradientHorizontal);
bool isWheel {mType == CarouselType::VERTICAL_WHEEL || mType == CarouselType::HORIZONTAL_WHEEL}; const bool isWheel {mType == CarouselType::VERTICAL_WHEEL ||
mType == CarouselType::HORIZONTAL_WHEEL};
// Draw the items. // Draw the items.
// itemSpacing will also include the size of the item itself. // itemSpacing will also include the size of the item itself.