Skip to content

Commit 26cca94

Browse files
committed
feat(progress-bar): idfk anymore ffs mac just compile
1 parent 854fa16 commit 26cca94

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/custom_nodes/RLProgressBar.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ void RLProgressBar::updateClipper(float progress)
7171

7272
m_stencil->clear();
7373
m_stencil->drawRect(
74-
{ 2.f, .0f, (this->getContentSize().width - 4.f) / 100.f * progress, this->getContentSize().height },
74+
{ 2.f, .0f, },
75+
{ ((this->getContentSize().width - 4.f) / 100.f * progress) + 2.f, this->getContentSize().height },
7576
{ 1.f, 1.f, 1.f, 1.f },
7677
0,
7778
{ 1.f, 1.f, 1.f, 1.f }

0 commit comments

Comments
 (0)