beta
This commit is contained in:
@@ -92,9 +92,7 @@ function spellCache.GetIcon(name)
|
||||
if (icons) then
|
||||
if (icons.spells) then
|
||||
for spellId, icon in pairs(icons.spells) do
|
||||
if (not bestMatch) then
|
||||
bestMatch = spellId
|
||||
elseif(type(spellId) == "number" and IsSpellKnown(spellId)) then
|
||||
if not bestMatch or (type(spellId) == "number" and IsSpellKnown(spellId)) then
|
||||
bestMatch = spellId
|
||||
end
|
||||
end
|
||||
|
||||
@@ -82,7 +82,7 @@ local function createOptions(id, data)
|
||||
|
||||
local textJustify = ""
|
||||
if data.justify == "CENTER" then
|
||||
|
||||
-- CENTER is default
|
||||
elseif data.justify == "LEFT" then
|
||||
textJustify = " " .. L["and aligned left"]
|
||||
elseif data.justify == "RIGHT" then
|
||||
|
||||
@@ -105,7 +105,7 @@ local function createOptions(parentData, data, index, subIndex)
|
||||
|
||||
local textJustify = ""
|
||||
if data.text_justify == "CENTER" then
|
||||
|
||||
-- CENTER is default
|
||||
elseif data.text_justify == "LEFT" then
|
||||
textJustify = " " .. L["and aligned left"]
|
||||
elseif data.text_justify == "RIGHT" then
|
||||
|
||||
Reference in New Issue
Block a user