mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 23:55:38 +00:00
Fixed a rendering issue in ScrollableContainer.
This commit is contained in:
parent
e8c74450a0
commit
881b602cb4
|
@ -236,7 +236,7 @@ void ScrollableContainer::render(const glm::mat4& parentTrans)
|
|||
|
||||
mRenderer->pushClipRect(clipPos, clipDim);
|
||||
|
||||
trans = glm::translate(trans, -glm::vec3 {mScrollPos.x, mScrollPos.y, 0.0f});
|
||||
trans = glm::translate(trans, glm::round(-glm::vec3 {mScrollPos.x, mScrollPos.y, 0.0f}));
|
||||
mRenderer->setMatrix(trans);
|
||||
|
||||
if (Settings::getInstance()->getBool("DebugText"))
|
||||
|
|
Loading…
Reference in a new issue