Skip to content

Commit

Permalink
Fix progress bars drawing their borders in the wrong place
Browse files Browse the repository at this point in the history
Same problem as with textboxes solved in 3eb3481.
  • Loading branch information
LBPHacker committed May 9, 2023
1 parent 0e3968a commit 5c53546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/interface/ProgressBar.cpp
Expand Up @@ -46,7 +46,7 @@ void ProgressBar::Draw(const Point & screenPos)

ui::Colour progressBarColour = style::Colour::WarningTitle;

g->DrawRect(RectSized(Position, Size), 0xFFFFFF_rgb);
g->DrawRect(RectSized(screenPos, Size), 0xFFFFFF_rgb);

if(progress!=-1)
{
Expand Down

0 comments on commit 5c53546

Please sign in to comment.