Compare commits
2 commits
a166948aec
...
0e3e3145b7
Author | SHA1 | Date | |
---|---|---|---|
0e3e3145b7 | |||
3be094febc |
2 changed files with 4 additions and 10 deletions
|
@ -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++) {
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue