File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/src/processing/app/contrib Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ Icon renderProgressIcon(float amount, int hash) {
234234// g2.fillRect(0, 0, ICON_SIZE, ICON_SIZE);
235235 g2 .translate (0.5 , 0.5 );
236236
237- g2 .setStroke (new BasicStroke (1.5f ));
237+ g2 .setStroke (new BasicStroke (1.5f , BasicStroke . CAP_ROUND , BasicStroke . JOIN_ROUND ));
238238
239239 Color iconColor = Theme .getColor ("manager.list.icon.color" );
240240 g2 .setColor (iconColor );
@@ -256,8 +256,8 @@ Icon renderProgressIcon(float amount, int hash) {
256256 g2 .fill (circle );
257257
258258 g2 .translate (FFS_JAVA2D /2 , FFS_JAVA2D /2 );
259- // offset by epoch to avoid integer out of bounds
260- final long EPOCH = 1500000000000L + Math .abs ((long ) hash ); // date is in 2001
259+ // offset by epoch to avoid integer out of bounds (the date is in 2001)
260+ final long EPOCH = 1500000000000L + Math .abs ((long ) hash );
261261 int angle = (int ) ((System .currentTimeMillis () - EPOCH ) / 20 ) % 360 ;
262262 g2 .rotate (angle );
263263
You can’t perform that action at this time.
0 commit comments