Skip to content

Commit

Permalink
Fixed issues with ElvUI skin
Browse files Browse the repository at this point in the history
  • Loading branch information
AcidWeb committed Nov 17, 2022
1 parent e9d0606 commit a2087d8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions REFlex.lua
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ local SendAddonMessage = _G.C_ChatInfo.SendAddonMessage
local PlaySound = _G.PlaySound
local ElvUI = _G.ElvUI

RE.Version = 3302
RE.Version = 3303
RE.LastSquash = 1602662400
RE.FoundNewVersion = false

Expand Down Expand Up @@ -259,7 +259,7 @@ function RE:OnEvent(_, event, ...)
RE.Tooltip = QTIP:Acquire("REFlexTooltipLDB", 2, "LEFT", "LEFT")
RE.Tooltip:SmartAnchorTo(self)
if ElvUI then
RE.Tooltip:SetTemplate("Transparent", nil, true)
--RE.Tooltip:SetTemplate("Transparent", nil, true)
local red, green, blue = unpack(ElvUI[1].media.backdropfadecolor)
RE.Tooltip:SetBackdropColor(red, green, blue, ElvUI[1].Tooltip and ElvUI[1].Tooltip.db.colorAlpha or 1)
end
Expand Down Expand Up @@ -561,7 +561,7 @@ function RE:OnEnterTooltip(cellFrame, databaseID)
RE.TooltipRGB1:SetClampedToScreen(true)
RE.TooltipRGB1:SetPoint("RIGHT", RE.Tooltip, "LEFT", -5, 0)
if ElvUI then
RE.TooltipRGB1:SetTemplate("Transparent", nil, true)
--RE.TooltipRGB1:SetTemplate("Transparent", nil, true)
local red, green, blue = unpack(ElvUI[1].media.backdropfadecolor)
RE.TooltipRGB1:SetBackdropColor(red, green, blue, ElvUI[1].Tooltip and ElvUI[1].Tooltip.db.colorAlpha or 1)
end
Expand All @@ -588,15 +588,15 @@ function RE:OnEnterTooltip(cellFrame, databaseID)
RE.TooltipRGB2:SetClampedToScreen(true)
RE.TooltipRGB2:SetPoint("LEFT", RE.Tooltip, "RIGHT", 5, 0)
if ElvUI then
RE.TooltipRGB2:SetTemplate("Transparent", nil, true)
--RE.TooltipRGB2:SetTemplate("Transparent", nil, true)
local red, green, blue = unpack(ElvUI[1].media.backdropfadecolor)
RE.TooltipRGB2:SetBackdropColor(red, green, blue, ElvUI[1].Tooltip and ElvUI[1].Tooltip.db.colorAlpha or 1)
end
RE.TooltipRGB2:Show()
end
end
if ElvUI then
RE.Tooltip:SetTemplate("Transparent", nil, true)
--RE.Tooltip:SetTemplate("Transparent", nil, true)
local red, green, blue = unpack(ElvUI[1].media.backdropfadecolor)
RE.Tooltip:SetBackdropColor(red, green, blue, ElvUI[1].Tooltip and ElvUI[1].Tooltip.db.colorAlpha or 1)
end
Expand Down
2 changes: 1 addition & 1 deletion REFlex.toc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Interface: 100002
## Title: |cFF74D06CRE|rFlex
## Notes: Collect statistics of played arena matches and battlegrounds.
## Version: 3.3.2
## Version: 3.3.3
## Author: AcidWeb
## SavedVariablesPerCharacter: REFlexSettings, REFlexDatabase, REFlexHonorDatabase
## X-WoWI-ID: 19190
Expand Down

0 comments on commit a2087d8

Please sign in to comment.