Update MiniToggleSwitch.java

This commit is contained in:
Bane Stojkovic
2022-12-04 23:28:49 +01:00
parent 1ba5f1525b
commit 6dafbe1215
@@ -69,9 +69,7 @@ public class MiniToggleSwitch extends AbstractTransparentComponent<ToggleSwitchT
private static Color BORDER_COLOR = BODY_COLOR.darker(); private static Color BORDER_COLOR = BODY_COLOR.darker();
private static Color CIRCLE_COLOR = Color.decode("#FFFFAA"); private static Color CIRCLE_COLOR = Color.decode("#FFFFAA");
protected Point2D[] controlPoints = new Point2D[] {new Point2D.Double(0, 0)}; protected Point2D[] controlPoints = new Point2D[] {new Point2D.Double(0, 0)};
@Deprecated
protected String name;
transient protected Shape body; transient protected Shape body;
protected ToggleSwitchType switchType = ToggleSwitchType.DPDT; protected ToggleSwitchType switchType = ToggleSwitchType.DPDT;
private OrientationHV orientation = OrientationHV.VERTICAL; private OrientationHV orientation = OrientationHV.VERTICAL;