mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-17 22:55:38 +00:00
Very minor code change.
This commit is contained in:
parent
7b7a99dbe2
commit
1e9b95baac
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue