|
|
@ -1297,7 +1297,7 @@ public class AppController implements Initializable { |
|
|
|
public void bwtScanStatus(BwtScanStatusEvent event) { |
|
|
|
serverToggle.setDisable(true); |
|
|
|
if((AppServices.isConnecting() || AppServices.isConnected()) && !event.isCompleted()) { |
|
|
|
statusUpdated(new StatusEvent("Scanning... (" + event.getProgress() + "% complete" + (event.getProgress() > 30 ? ", " + event.getRemainingAsString() + " remaining)" : ")"))); |
|
|
|
statusUpdated(new StatusEvent("Scanning... (" + event.getProgress() + "% complete, " + event.getRemainingAsString() + " remaining)")); |
|
|
|
if(event.getProgress() > 0 && (statusTimeline == null || statusTimeline.getStatus() != Animation.Status.RUNNING)) { |
|
|
|
statusBar.setProgress((double)event.getProgress() / 100); |
|
|
|
} |
|
|
|