Compare commits

..

2 commits

2 changed files with 4 additions and 10 deletions

View file

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

View file

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