mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 03:14:34 +01:00
Alignment bugfix
This commit is contained in:
1 parent
02d6b063ad
commit
8b5356b66c
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user