Fixed an issue with tooltip icons not showing on classic and vanilla
This commit is contained in:
+6
-2
@@ -17,7 +17,7 @@ local max = math.max
|
||||
|
||||
--api locals
|
||||
local PixelUtil = PixelUtil or DFPixelUtil
|
||||
local version = 23
|
||||
local version = 24
|
||||
|
||||
local CONST_MENU_TYPE_MAINMENU = "main"
|
||||
local CONST_MENU_TYPE_SUBMENU = "sub"
|
||||
@@ -1202,7 +1202,11 @@ function DF:CreateCoolTip()
|
||||
if (leftIconSettings[10]) then
|
||||
menuButton.leftIconMask:SetTexture(leftIconSettings[10])
|
||||
else
|
||||
menuButton.leftIconMask:SetTexture([[Interface\COMMON\common-iconmask]])
|
||||
if (DF.IsDragonflightAndBeyond()) then
|
||||
menuButton.leftIconMask:SetTexture([[Interface\COMMON\common-iconmask]])
|
||||
else
|
||||
menuButton.leftIconMask:SetTexture([[Interface\CHATFRAME\chatframebackground]])
|
||||
end
|
||||
end
|
||||
|
||||
local colorRed, colorGreen, colorBlue, colorAlpha = DF:ParseColors(leftIconSettings[8])
|
||||
|
||||
+3
-1
@@ -1,6 +1,6 @@
|
||||
|
||||
|
||||
local dversion = 523
|
||||
local dversion = 525
|
||||
local major, minor = "DetailsFramework-1.0", dversion
|
||||
local DF, oldminor = LibStub:NewLibrary(major, minor)
|
||||
|
||||
@@ -1447,6 +1447,8 @@ local ValidOutlines = {
|
||||
["MONOCHROME"] = true,
|
||||
["OUTLINE"] = true,
|
||||
["THICKOUTLINE"] = true,
|
||||
["OUTLINEMONOCHROME"] = true,
|
||||
["THICKOUTLINEMONOCHROME"] = true,
|
||||
}
|
||||
|
||||
DF.FontOutlineFlags = {
|
||||
|
||||
Reference in New Issue
Block a user