Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: Dridzt
Forum: Lua/XML Help 05-24-13, 05:27 PM
Replies: 6
Views: 4,536
Posted By Dridzt
Hmm, I took a look at your code. You're...

Hmm, I took a look at your code.

You're over-complicating things :)

There's no reason to have a frame to parent your unitframe to, that does nothing.

You should just create your Button from...
Forum: Lua/XML Help 05-24-13, 11:40 AM
Replies: 6
Views: 4,536
Posted By Dridzt
You inherit from "SecureHandlerStateTemplate" in...

You inherit from "SecureHandlerStateTemplate" in addition to whatever it is you're inheriting from now (didn't check code) and then
RegisterStateDriver(yourframe, "visibility", "[nopet]hide;show")
Showing results 1 to 2 of 2