mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-15 22:30:13 -05:00
- setup the toc to properly strip out embeds.xml whenever it's building a no-lib version. wow, this has been broken forever. nice.
- added support for LibDualSpec-1.0 - wrapped a bit of debug code in --@debug@
This commit is contained in:
@ -901,7 +901,16 @@ function IceHUD:OnInitialize()
|
||||
self:GenerateModuleOptions(true)
|
||||
self.options.args.colors.args = self.IceCore:GetColorOptions()
|
||||
self.options.args.profiles = LibStub("AceDBOptions-3.0"):GetOptionsTable(self.db)
|
||||
-- Add dual-spec support
|
||||
local LibDualSpec = LibStub('LibDualSpec-1.0', true)
|
||||
if LibDualSpec then
|
||||
LibDualSpec:EnhanceDatabase(self.db, "IceHUD")
|
||||
LibDualSpec:EnhanceOptions(self.options.args.profiles, self.db)
|
||||
end
|
||||
|
||||
--@debug@
|
||||
self:SetupProfileImportButtons()
|
||||
--@end-debug@
|
||||
|
||||
LibStub("AceConfig-3.0"):RegisterOptionsTable("IceHUD", self.options, "/icehudcl")
|
||||
|
||||
|
Reference in New Issue
Block a user