From b7b0ec6cdc214e0101c0d6875dbaab8530b175d5 Mon Sep 17 00:00:00 2001 From: Shestak Date: Wed, 18 Apr 2012 22:33:36 +0400 Subject: [PATCH] Added Aurora support for oGlow. --- ShestakUI/Libs/oGlow/Displays/Border.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ShestakUI/Libs/oGlow/Displays/Border.lua b/ShestakUI/Libs/oGlow/Displays/Border.lua index f2615b5a39..bc9371dc16 100644 --- a/ShestakUI/Libs/oGlow/Displays/Border.lua +++ b/ShestakUI/Libs/oGlow/Displays/Border.lua @@ -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 @@ -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])