return posX - posX % Constants.GRID_SIZE - Constants.CONNECTOR_WIDTH / 2;
return posX - posX % Constants.GRID_SIZE;
public int getX() {	int posX = super.getX();	if (com.cosylab.vdct.Settings.getInstance().getSnapToGrid())		return posX - posX % Constants.GRID_SIZE - Constants.CONNECTOR_WIDTH / 2;	else		return posX;}