Originally Posted by SDPhantom
Frame:HasScript() checks if the frame is capable of running the specified script handler. You need to run Frame:GetScript() to see if one is set.
|
Yeah I wanted to know if the frame is capable of running the OnClick handler. I don't care if it has any set already.
Originally Posted by SDPhantom
PS: From what I can tell, the personal resource display is essentially a NamePlate dedicated for the player. As such, the NamePlate itself is probably handling the clicks and not the CompactUnitFrame that's built on top of it.
|
Yup I already suspected this to be the case. The question still stands tho. How to disable the personal resource display clickability?