Fix icon drawing in text boxes
This commit is contained in:
parent
9a94939585
commit
4e9e0ff7bf
@ -244,6 +244,8 @@ void Textbox::Draw(const Point& screenPos)
|
|||||||
}
|
}
|
||||||
if(border) g->drawrect(screenPos.X, screenPos.Y, Size.X, Size.Y, 160, 160, 160, 255);
|
if(border) g->drawrect(screenPos.X, screenPos.Y, Size.X, Size.Y, 160, 160, 160, 255);
|
||||||
}
|
}
|
||||||
|
if(Appearance.icon)
|
||||||
|
g->draw_icon(screenPos.X+iconPosition.X, screenPos.Y+iconPosition.Y, Appearance.icon);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user