Best friend has feelings for me

It’s somewhat a long story so thank you if you could make it till the end.

So I have (had) this girl best friend for a little over a year now. We used to spend literally every day together, do sleepovers, cook dinner, watch movies, gossip about guys and all the other girl stuff you can think of.

However, we hadn’t seen each other for a month and a half because I was away to visit my family. During that time, I’d ended my 5 year relationship and downloaded tinder just to see what I’d been missing all this time. Then to my luck I’d met the sweetest guy whom I am still seeing today.

One night in the girl’s group chat another friend and I talked about this new guy and her boy drama all night long. After that nothing has been the same with the friend mentioned above. She distanced herself totally from both of us. Started not to call or ask how we were doing. We were just so heart broken and disappointed that such a great friendship was going to a waste.

After I’d come back, my friend wanted to have a chat with me and came out as bisexual (even though she had been claiming she was straight all this time) and that she had feelings for me. I told her I accepted her as she is and her sexuality didn’t make a difference for me but I would never see her the way she saw me, however things might change because she had developed feelings for ME, and I would wait until she decided what to do with all of this.

We met then couple of times outside with other friends and she hadn’t said a word and acted normal as I did too.

The other day though, she had a huge mental breakdown because she is jealous of this guy that I am seeing. She started yelling and crying and told me “how could you choose him over me?” Which has been and is not the case since the beginning. After that I ended the friendship and we moved on our separate ways, however I can’t stop feeling used – because she had these feelings while we were best friends: she slept in my bed, I changed in front of her etc. It kind of makes me feel like a sexual object that she wanted to keep around as much as she could.

Yet again, what if I hadn’t broken up with my ex back then? Would she have just waited and not come out? Or would she have been jealous of my ex too?

Now I don’t know what to do. I love her as a friend and treasure her friendship still, it just hurts so much that it had to end this way.