mirror of
https://github.com/Huntereb/Awoo-Installer
synced 2024-11-22 19:53:07 +00:00
Update UI occasionally to stop main menu flicker
This commit is contained in:
parent
050f0276ca
commit
5515df5d78
2 changed files with 4 additions and 0 deletions
|
@ -117,11 +117,13 @@ namespace inst::ui {
|
|||
this->startNetwork();
|
||||
return;
|
||||
} else {
|
||||
mainApp->CallForRender(); // If we re-render a few times during this process the main screen won't flicker
|
||||
sourceString = " over local network";
|
||||
this->pageInfoText->SetText("Select what files you want to install from the server, then press the Plus button!");
|
||||
this->butText->SetText("\ue0e0 Select File \ue0e3 Select All \ue0ef Install File(s) \ue0e1 Cancel ");
|
||||
this->drawMenuItems(true);
|
||||
this->menu->SetSelectedIndex(0);
|
||||
mainApp->CallForRender();
|
||||
this->infoImage->SetVisible(false);
|
||||
this->menu->SetVisible(true);
|
||||
}
|
||||
|
|
|
@ -77,10 +77,12 @@ namespace inst::ui {
|
|||
mainApp->LoadLayout(mainApp->mainPage);
|
||||
return;
|
||||
} else {
|
||||
mainApp->CallForRender(); // If we re-render a few times during this process the main screen won't flicker
|
||||
this->pageInfoText->SetText("Select what files you want to install over USB, then press the Plus button!");
|
||||
this->butText->SetText("\ue0e0 Select File \ue0e3 Select All \ue0ef Install File(s) \ue0e1 Cancel ");
|
||||
this->drawMenuItems(true);
|
||||
this->menu->SetSelectedIndex(0);
|
||||
mainApp->CallForRender();
|
||||
this->infoImage->SetVisible(false);
|
||||
this->menu->SetVisible(true);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue