Skip to content
Snippets Groups Projects
Commit 84e6ee40 authored by Marton Ady's avatar Marton Ady
Browse files

initial loadstatus delay from 250ms to 500ms

parent 5d7ee800
Branches
Tags MF_v2.9.18_beta
No related merge requests found
......@@ -138,7 +138,8 @@ void LoadStatus::Update() {
++i;
}
Uint32 now = SDL_GetTicks();
if ((now - lastUpd) > 250) {
int delay_ms= IsVisible() ? 250 : 500; //Update frequency vs. initial display delay
if ((now - lastUpd) > delay_ms) {
SetVisible(true);
mApp->DoEvents(); //draw table and catch stop button press
lastUpd = SDL_GetTicks();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment