My ex saw in the street and tried to say hi but I just ignored her. Did I act like a dick?

The breakup happened a few years ago (she dumped me). She acted immaturely afterwards for about a year just to see me react so I cut off contact ever since.

My ex saw in the street and tried to say hi but I just ignored her. Did I act like a dick?
Post Opinion