mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Expand this one too, to be safe, if more floating point precision is required.
This commit is contained in:
parent
1c1b41b7a2
commit
70e7b879a2
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ EventReturn PopupSliderChoiceFloat::HandleClick(EventParams &e) {
|
|||
|
||||
void PopupSliderChoiceFloat::Draw(UIContext &dc) {
|
||||
Choice::Draw(dc);
|
||||
char temp[5];
|
||||
char temp[32];
|
||||
sprintf(temp, "%2.2f", *value_);
|
||||
dc.Draw()->DrawText(dc.theme->uiFont, temp, bounds_.x2() - 12, bounds_.centerY(), 0xFFFFFFFF, ALIGN_RIGHT | ALIGN_VCENTER);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue