leave progress blank while fraction is 0

This commit is contained in:
anna
2010-06-09 17:32:58 +04:00
parent ad87ed290e
commit fc8242e802
@@ -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) {