Was my Female coworker flirting with me?

Im a female 24 years old and i hungout and smoked some weed last night with my coworker. Im the closest with her at my job. She has a girlfriend but however she started being all giggly and touching her hair and at one point hugged me. Why do girls get weird when they drink or smoke with other girls?
Was my Female coworker flirting with me?
Post Opinion