diff --git a/es-core/src/components/primary/CarouselComponent.h b/es-core/src/components/primary/CarouselComponent.h index bf7f8569d..984f4c33e 100644 --- a/es-core/src/components/primary/CarouselComponent.h +++ b/es-core/src/components/primary/CarouselComponent.h @@ -548,7 +548,8 @@ template void CarouselComponent::render(const glm::mat4& parentT mRenderer->drawRect(0.0f, 0.0f, mSize.x, mSize.y, mCarouselColor, mCarouselColorEnd, 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. // itemSpacing will also include the size of the item itself.