Skip to content

Commit

Permalink
Added Aurora support for oGlow.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shestak committed Apr 18, 2012
1 parent 7ea2e16 commit b7b0ec6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ShestakUI/Libs/oGlow/Displays/Border.lua
Expand Up @@ -15,7 +15,7 @@ local colorTable = setmetatable(
local createBorder = function(self, point)
local bc = self.oGlowBorder
if not bc then
if C.skins.blizzard_frames == true then
if C.skins.blizzard_frames == true or IsAddOnLoaded("Aurora") then
if not self:IsObjectType("Frame") then
bc = CreateFrame("Frame", nil, self:GetParent())
else
Expand Down Expand Up @@ -62,7 +62,7 @@ local borderDisplay = function(frame, color)
local rgb = colorTable[color]

if rgb then
if C.skins.blizzard_frames == true then
if C.skins.blizzard_frames == true or IsAddOnLoaded("Aurora") then
bc:SetBackdropBorderColor(rgb[1], rgb[2], rgb[3])
if bc.backdrop then
bc.backdrop:SetBackdropBorderColor(rgb[1], rgb[2], rgb[3])
Expand Down

0 comments on commit b7b0ec6

Please sign in to comment.