mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-21 21:55:38 +00:00
Fixed an issue where ScrollableContainer would sometimes fade in text that had not been scrolled.
This commit is contained in:
parent
221cd89e4a
commit
6599c12554
|
@ -118,7 +118,7 @@ void ScrollableContainer::update(int deltaTime)
|
|||
if (!isVisible() || mSize == glm::vec2 {0.0f, 0.0f})
|
||||
return;
|
||||
|
||||
const glm::vec2 contentSize {mChildren.front()->getSize()};
|
||||
const glm::vec2 contentSize {glm::round(mChildren.front()->getSize())};
|
||||
float rowModifier {1.0f};
|
||||
|
||||
float lineSpacing {mChildren.front()->getLineSpacing()};
|
||||
|
|
Loading…
Reference in a new issue