mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 22:25:38 +00:00
Fixed GuiBox's background being positioned wrong.
This commit is contained in:
parent
6de46003d9
commit
b6afbd8c09
|
@ -1,5 +1,6 @@
|
|||
October 10
|
||||
-Added a theming tag for the Fast Select box's text.
|
||||
-Fixed GuiBox background being positioned wrong.
|
||||
|
||||
October 7
|
||||
-Fixed borders for GuiBox. The right and bottom borders are flipped, too.
|
||||
|
|
|
@ -37,6 +37,7 @@ void GuiBox::setVerticalImage(std::string path, bool tiled)
|
|||
|
||||
void GuiBox::setBackgroundImage(std::string path, bool tiled)
|
||||
{
|
||||
mBackgroundImage.setOrigin(0, 0);
|
||||
mBackgroundImage.setResize(mWidth, mHeight, true);
|
||||
mBackgroundImage.setTiling(tiled);
|
||||
mBackgroundImage.setOffsetX(getOffsetX());
|
||||
|
|
Loading…
Reference in a new issue