Fix progress bars drawing their borders in the wrong place
Same problem as with textboxes solved in 3eb3481fda
.
This commit is contained in:
parent
0e3968af0b
commit
5c5354655c
@ -46,7 +46,7 @@ void ProgressBar::Draw(const Point & screenPos)
|
|||||||
|
|
||||||
ui::Colour progressBarColour = style::Colour::WarningTitle;
|
ui::Colour progressBarColour = style::Colour::WarningTitle;
|
||||||
|
|
||||||
g->DrawRect(RectSized(Position, Size), 0xFFFFFF_rgb);
|
g->DrawRect(RectSized(screenPos, Size), 0xFFFFFF_rgb);
|
||||||
|
|
||||||
if(progress!=-1)
|
if(progress!=-1)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user