mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
leave progress blank while fraction is 0
This commit is contained in:
@@ -149,7 +149,7 @@ public class ColorProgressBar extends JComponent {
|
||||
|
||||
g.setClip(4, 3, size.width - 8, size.height - 6);
|
||||
|
||||
int bricksToDraw = getBricksToDraw(myFraction);
|
||||
int bricksToDraw = myFraction == 0 ? 0 : getBricksToDraw(myFraction);
|
||||
|
||||
if (myIndeterminate) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user