Compare commits

..

No commits in common. "0e3e3145b750c31f4b6ac4e225642819e626c62e" and "a166948aec55da3f1b388b799452e148367045b5" have entirely different histories.

2 changed files with 10 additions and 4 deletions

View file

@ -24,7 +24,10 @@
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}, _account{account}, _demo{demo}, _stagingAreaDirectory{staging_dir} _saveDirectory{save_path},
_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,9 +142,12 @@ void ToastQueue::draw(Vector2i viewport_size) {
ImGui::SameLine(); ImGui::SameLine();
} }
ImGui::PushTextWrapPos(500.0f); if(current->message().size() > 127) {
ImGui::TextColored(colour, current->message().data()); ImGui::TextColored(colour, "%.*s...", 127, current->message().data());
ImGui::PopTextWrapPos(); }
else {
ImGui::TextColored(colour, current->message().data());
}
height += ImGui::GetWindowHeight() + toast_spacing; height += ImGui::GetWindowHeight() + toast_spacing;
} }