mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Do not set indeterminate state on progress bars
The progress bars for installing third-party libraries were initialized with indeterminate mode. This results in a pretty *I'm doing something* animation which slows down the system. Furthermore, the progress bars are not even visible, so there is no need for any animation. Fixes processing#1561
This commit is contained in:
@@ -484,7 +484,7 @@ class ContributionPanel extends JPanel {
|
||||
|
||||
protected void resetInstallProgressBarState() {
|
||||
installProgressBar.setString("Starting");
|
||||
installProgressBar.setIndeterminate(true);
|
||||
installProgressBar.setIndeterminate(false);
|
||||
installProgressBar.setValue(0);
|
||||
installProgressBar.setVisible(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user