Close Frame if you escape/click outside of it
Hey all,
I'm coding an addon that shows a frame with secure buttons on it that let you cast poisons on those weapons. The idea is you right click the respective weapon in the player frame and the frame appears. Currently the frame will open when I right click the weapon as expected, however, I can't figure out how to hide it when I click outside of the frame or hit escape.
Any suggestions would be much appreciated.
|