This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
What is the enhancement in mind? How should it look and feel?
I love your addons. Ok now that the praise is over... Any way to add in hiding this during a pet battle?
Not even worth putting a ticket in over as it is so small it doesn't really matter but I am really really anal retentive about my UI :/
Please provide any additional information below.
Just add in to hide the frame while in a pet battle and I think that would be super.
Adding
RegisterStateDriver(frame, "visibility", "[petbattle] hide; show")
to local function OnUpdate(frame,elap)
at line 79
does the trick
Ok this is dirty and makes me unhappy but it works
local function OnEvent(event,...) if InCombatLockdown() then return end if GetNumGroupMembers() > 0 and (not UnitInRaid("player") or (UnitIsGroupLeader("player") or UnitIsGroupAssistant("player"))) then RegisterStateDriver(addon.border, "visibility", "[petbattle] hide; show") addon.border:Show() else RegisterStateDriver(addon.border, "visibility", "[petbattle] hide") addon.border:Hide() end end
To post a comment, please login or register a new account.