Compare commits

...

2 commits

2 changed files with 4 additions and 10 deletions

View file

@ -24,10 +24,7 @@
using namespace Containers::Literals;
MassManager::MassManager(Containers::StringView save_path, Containers::StringView account, bool demo, Containers::StringView staging_dir):
_saveDirectory{save_path},
_account{account},
_demo{demo},
_stagingAreaDirectory{staging_dir}
_saveDirectory{save_path}, _account{account}, _demo{demo}, _stagingAreaDirectory{staging_dir}
{
Containers::String mass_filename = "";
for(UnsignedInt i = 0; i < _hangars.size(); i++) {

View file

@ -142,12 +142,9 @@ void ToastQueue::draw(Vector2i viewport_size) {
ImGui::SameLine();
}
if(current->message().size() > 127) {
ImGui::TextColored(colour, "%.*s...", 127, current->message().data());
}
else {
ImGui::TextColored(colour, current->message().data());
}
ImGui::PushTextWrapPos(500.0f);
ImGui::TextColored(colour, current->message().data());
ImGui::PopTextWrapPos();
height += ImGui::GetWindowHeight() + toast_spacing;
}