mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Alignment bugfix
This commit is contained in:
parent
02d6b063ad
commit
8b5356b66c
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ int UIButton(int id, const LayoutManager &layout, float w, const char *text, int
|
|||
if (button_align & ALIGN_HCENTER) x -= w / 2;
|
||||
if (button_align & ALIGN_VCENTER) y -= h / 2;
|
||||
if (button_align & ALIGN_RIGHT) x -= w;
|
||||
if (button_align & ALIGN_BOTTOMRIGHT) y -= h;
|
||||
if (button_align & ALIGN_BOTTOM) y -= h;
|
||||
|
||||
int txOffset = 0;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue