|
|
@ -272,6 +272,7 @@ public class XCardSwitchButton extends XButton { |
|
|
|
|
|
|
|
|
|
|
|
if(mainLayout instanceof XWCardMainBorderLayout){ |
|
|
|
if(mainLayout instanceof XWCardMainBorderLayout){ |
|
|
|
x += mainLayout.getX(); |
|
|
|
x += mainLayout.getX(); |
|
|
|
|
|
|
|
y += mainLayout.getY(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
double mainX = point.getX() + x; |
|
|
|
double mainX = point.getX() + x; |
|
|
|