mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 11:05:08 -05:00
disable the modlist slider
This commit is contained in:
parent
2d66279243
commit
02845d967e
1 changed files with 9 additions and 1 deletions
|
@ -650,7 +650,15 @@ void ModList::showStatus(ModListStatus status, std::string const& message, std::
|
|||
m_statusDetails->setVisible(false);
|
||||
m_statusDetailsBtn->setVisible(details.has_value());
|
||||
m_statusLoadingCircle->setVisible(std::holds_alternative<ModListUnkProgressStatus>(status));
|
||||
m_statusLoadingBar->setVisible(std::holds_alternative<ModListProgressStatus>(status));
|
||||
|
||||
// the loading bar makes no sense to display - it's meant for progress of mod list page loading
|
||||
// however the mod list pages are so small, that there usually isn't a scenario where the loading
|
||||
// takes longer than a single frame - therefore this is useless
|
||||
// server processing time isn't included in this - it's only after the server starts responding
|
||||
// that we get any progress information
|
||||
// also the position is wrong if you wanna restore the functionality
|
||||
//m_statusLoadingBar->setVisible(std::holds_alternative<ModListProgressStatus>(status));
|
||||
m_statusLoadingBar->setVisible(false);
|
||||
|
||||
// Update progress bar
|
||||
if (auto per = std::get_if<ModListProgressStatus>(&status)) {
|
||||
|
|
Loading…
Reference in a new issue