Ex-girlfriend dating a close friend. How would you feel?

Imagine a scenario where you break up with your girlfriend and you still have some kind of feelings for her. your girlfriend now your ex, goes on to have a relationship with your close friend.
this act obv is not immoral cause there are two mature human beings with freedom of choice and this idea seems purely justifiable but can it be wrong? The only factor that may come in their way would be me. what if this act somehow distorts my well-being, not in a way of "oh I'm being offended" but in a sense that whenever I'm spending time with this friend deep down i get this feeling that "i hate him because of that" here "hate" may not be the right word but let's say it doesn't strike me well.

What would the rational decision for me to make here?
And what if my friend knew i had still some feelings for her and he did it anyway because he himself also liked her.
And of course what would do you feel about this scenario?
Ex-girlfriend dating a close friend. How would you feel?
Post Opinion