From 52b60ff2a56c77625971f54bfc15d785e84fa278 Mon Sep 17 00:00:00 2001 From: William JCM Date: Wed, 28 Jul 2021 14:12:43 +0200 Subject: [PATCH] ToastQueue: fix formatting a bit. --- src/ToastQueue/ToastQueue.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ToastQueue/ToastQueue.cpp b/src/ToastQueue/ToastQueue.cpp index 60e7351..1f367c6 100644 --- a/src/ToastQueue/ToastQueue.cpp +++ b/src/ToastQueue/ToastQueue.cpp @@ -138,7 +138,9 @@ void ToastQueue::draw(Vector2i viewport_size) { break; } - ImGui::SameLine(); + if(current->type() != Toast::Type::Default) { + ImGui::SameLine(); + } if(current->message().length() > 127) { ImGui::TextColored(colour, "%.*s...", 127, current->message().c_str());