Sector wave spawning fixes
This commit is contained in:
@@ -56,11 +56,16 @@ public class LoadingFragment extends Fragment{
|
||||
bar.set(() -> ((int)(progress.get() * 100) + "%"), progress, Pal.accent);
|
||||
}
|
||||
|
||||
public void snapProgress(){
|
||||
bar.snap();
|
||||
}
|
||||
|
||||
public void setProgress(float progress){
|
||||
progValue = progress;
|
||||
if(!bar.visible){
|
||||
setProgress(() -> progValue);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public void setButton(Runnable listener){
|
||||
|
||||
Reference in New Issue
Block a user