mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
- shamelessly ripped off code from pitbull4 to replace "set focus" with instructions on how to do so. begone, focus error reports!
This commit is contained in:
@ -16,17 +16,5 @@ function PetInfo.prototype:GetDefaultSettings()
|
||||
return settings
|
||||
end
|
||||
|
||||
local function IcePetDropdown()
|
||||
ToggleDropDownMenu(1, nil, PetFrameDropDown, "cursor")
|
||||
end
|
||||
|
||||
function PetInfo.prototype:CreateFrame(redraw)
|
||||
PetInfo.super.prototype.CreateFrame(self, redraw)
|
||||
|
||||
if not self.frame.menu or self.frame.menu ~= IcePetDropdown then
|
||||
self.frame.menu = IcePetDropdown
|
||||
end
|
||||
end
|
||||
|
||||
-- Load us up
|
||||
IceHUD.PetInfo = PetInfo:new()
|
||||
|
Reference in New Issue
Block a user