ToastQueue: fix formatting a bit.
This commit is contained in:
parent
14c5a76891
commit
52b60ff2a5
1 changed files with 3 additions and 1 deletions
|
@ -138,7 +138,9 @@ void ToastQueue::draw(Vector2i viewport_size) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(current->type() != Toast::Type::Default) {
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
|
}
|
||||||
|
|
||||||
if(current->message().length() > 127) {
|
if(current->message().length() > 127) {
|
||||||
ImGui::TextColored(colour, "%.*s...", 127, current->message().c_str());
|
ImGui::TextColored(colour, "%.*s...", 127, current->message().c_str());
|
||||||
|
|
Loading…
Reference in a new issue