When yield curve flattens, value of call option increases

But when YC flattens, the ST rates increase and LT rates decrease so does that mean we only take LT rates into account for evaluating price changes in value of option?