Animation delay from walk to idle

I’m learning programming and I started to play with sprites and coding.
My problem is when I start to walk it turns the walk animation on, but when I stop the animation waits until it finishes to set the idle animation.
Also I’m not sure but I think it’s also happening with the Idle animation but in minor proportions, because as far as I know the idle also has an animation time and the problem should be the same, affecting both of them.

Here Is a screenshot, but it’s just both animations and the “Has Exit Time” turned off.

There is the code, I was just testing with the “D” Key.

Hope somebody can help me here

Simple set the delay on Animator State settings to 0.