This commit is contained in:
gac-S_Changer
2018-08-23 14:01:06 +02:00
parent 62f6bb1aed
commit fdf43ffdb3

View File

@@ -249,9 +249,9 @@ public class PuckGraphics {
position = getReferenceDrawPosition();
size = getReferenceDrawSize();
//size+=1;
g.fillArc(position.x - size / 2, position.y - size / 2 , size, size, (int) (180 + puck.angle), 180);
g.fillArc(position.x - size / 2, position.y - size / 2 , size, size, (int) (180 + (rotated ? puck.angle : 0)), 180);
g.setColor(getBorderColor(drawBackground));
g.drawArc(position.x - size / 2, position.y - size / 2 , size, size, (int) (180 + puck.angle), 180);
g.drawArc(position.x - size / 2, position.y - size / 2 , size, size, (int) (180 + (rotated ? puck.angle : 0)), 180);
} else {
Point pu = getDrawUnipuckLedPosition();
Point pm = getDrawMinispineLedPosition();