mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-11 01:32:08 +10:00
Potentiometer misdraw at 180 degrees
This commit is contained in:
Binary file not shown.
+1
-1
@@ -108,7 +108,7 @@ public class PotentiometerPanel extends AbstractPotentiometer {
|
|||||||
break;
|
break;
|
||||||
case _180:
|
case _180:
|
||||||
body[3] = new Area(new Ellipse2D.Double(
|
body[3] = new Area(new Ellipse2D.Double(
|
||||||
controlPoints[0].x + spacing - diameter / 2, controlPoints[0].y + spacing
|
controlPoints[0].x - spacing - diameter / 2, controlPoints[0].y + spacing
|
||||||
/ 2, diameter, diameter));
|
/ 2, diameter, diameter));
|
||||||
for (int i = 0; i < 3; i++) {
|
for (int i = 0; i < 3; i++) {
|
||||||
body[i] = new Area(new Rectangle2D.Double(
|
body[i] = new Area(new Rectangle2D.Double(
|
||||||
|
|||||||
Reference in New Issue
Block a user