Unless it's acrylic, the tang didn't scratch the glass.  Now, on to the tang flashing against the glass:  watch closely when it happens.  If it's picking with its mouth, it's eating so be happy.  If it's scratching it's side/gill area, be worried.  Flukes and ich are the 2 likely causes in that event, in which case, shame on you for not quarantining.