- Added support for rotation in the new bar resizing system.

- Enabled bar rotation for the CastBar module.
This commit is contained in:
rokiyo
2010-11-02 16:05:13 +00:00
parent 286e413198
commit 18332f70f7
2 changed files with 8 additions and 10 deletions

View File

@ -34,7 +34,7 @@ function CastBar.prototype:GetDefaultSettings()
settings["hideAnimationSettings"] = true
settings["usesDogTagStrings"] = false
settings["rangeColor"] = true
settings["shouldHideBarRotation"] = true
settings["shouldHideBarRotation"] = false
settings["bAllowExpand"] = false
return settings
@ -294,13 +294,7 @@ function CastBar.prototype:GetOptions()
return opts
end
function CastBar.prototype:Enable(core)
if self.moduleSettings.rotateBar then
self.moduleSettings.rotateBar = false
self:ResetRotation()
end
CastBar.super.prototype.Enable(self, core)
self:RegisterEvent("UNIT_ENTERED_VEHICLE", "EnteringVehicle")