mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 02:03:47 +01:00
Refactor main screen code some more
This commit is contained in:
1 parent
2404fc330d
commit
0397fe5e91
3 files changed
+58
-43
No files matched your search
+1
-1
@@ -490,7 +490,7 @@ void Choice::GetContentDimensionsBySpec(const UIContext &dc, MeasureSpec horiz,
|
||||
totalW += textW;
|
||||
}
|
||||
|
||||
w = totalW + 24;
|
||||
w = totalW + (text_.empty() ? 16 : 24);
|
||||
h = totalH + 16;
|
||||
h = std::max(h, ITEM_HEIGHT);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user