mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
idk
This commit is contained in:
@@ -288,8 +288,6 @@ function E:FontTemplate(fs, font, fontSize, fontStyle)
|
||||
end
|
||||
|
||||
function E:StyleButton(button, noHover, noPushed, noChecked)
|
||||
|
||||
if not button then return end
|
||||
if button.SetHighlightTexture and not button.hover and not noHover then
|
||||
local hover = button:CreateTexture()
|
||||
hover:SetTexture(1, 1, 1, 0.3)
|
||||
|
||||
@@ -197,10 +197,10 @@ function TT:UPDATE_MOUSEOVER_UNIT(_, unit)
|
||||
local pvpFlag = ""
|
||||
local diffColor = GetQuestDifficultyColor(level)
|
||||
|
||||
if UnitIsPVP(unit) then
|
||||
local pvpText = HELPFRAME_HOME_ISSUE3_HEADER or "PVP"
|
||||
pvpFlag = format(" (%s)", pvpText)
|
||||
end
|
||||
if UnitIsPVP(unit) then
|
||||
local pvpText = HELPFRAME_HOME_ISSUE3_HEADER or "PVP"
|
||||
pvpFlag = format(" (%s)", pvpText)
|
||||
end
|
||||
|
||||
levelLine:SetText(format("|cff%02x%02x%02x%s|r%s %s%s", diffColor.r * 255, diffColor.g * 255, diffColor.b * 255, level > 0 and level or "??", classification[creatureClassification] or "", creatureType or "", pvpFlag))
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user