mirror of
https://github.com/libretro/Mesen.git
synced 2024-12-17 22:36:35 +00:00
UI: Changed display style for messages (uses brackets instead of colon)
This commit is contained in:
parent
3f4caa5022
commit
3f2d769d57
@ -575,7 +575,7 @@ namespace NES
|
||||
XMVECTORF32 color = { opacity, opacity, opacity, opacity };
|
||||
float textLeftMargin = 4.0f;
|
||||
|
||||
string text = toast->GetToastTitle() + ": " + toast->GetToastMessage();
|
||||
string text = "[" + toast->GetToastTitle() + "] " + toast->GetToastMessage();
|
||||
uint32_t lineCount = 0;
|
||||
std::wstring wrappedText = WrapText(text, _font.get(), _screenWidth - textLeftMargin * 2 - 20, lineCount);
|
||||
lastHeight += lineCount * 20;
|
||||
|
Loading…
Reference in New Issue
Block a user