Shestak UI
Go Back   Shestak UI > Interface Forums > English Community > Bugs Reports

Bugs Reports Report any bugs or issues you come across with ShestakUI.

Advertising

 
Thread Tools
Old 17.11.2014, 15:53   #11
leg883
 Assistant User Information

leg883's Avatar
The problem arises when you update for “ A new way to change the text color for MagePortals”

张贴在 9 分钟
I will test After a while.

张贴在 17 分钟
result:

传送:达拉然
Old 17.11.2014, 15:53   #1.5 - Disable Ads

Advertise on this site

Old 17.11.2014, 18:42   #12
Wetxius
 Assistant User Information

Wetxius's Avatar
Another test.
Try change https://github.com/Shestak/ShestakUI...ls.lua#L64-L75
Code [Select]:
local learnSpell = CreateFrame("Frame")
learnSpell:RegisterEvent("PLAYER_LOGIN")
learnSpell:RegisterEvent("LEARNED_SPELL_IN_TAB")
learnSpell:SetScript("OnEvent", function()
	for i, spell in pairs(spells) do
		if _G["TeleportMenuName"..i] then
			if not IsSpellKnown(spell[1]) then
				_G["TeleportMenuName"..i]:SetTextColor(0.4, 0.4, 0.4)
			else
				_G["TeleportMenuName"..i]:SetTextColor(1, 1, 1)
			end
		end
	end
end)
Say Thank:
Shestak (17.11.2014)
Old 18.11.2014, 08:30   #13
leg883
 Assistant User Information

leg883's Avatar
Thank you for doing this.
After the change, the minimap without the MagePortals button.MagePortals still doesn't work.

error:
Code [Select]:
...erface\AddOns\ShestakUI\Modules\Misc\MagePortals.lua:54: attempt to perform arithmetic on a nil value
Count: 1

Call Stack:
[C]: ?
...erface\AddOns\ShestakUI\Modules\Misc\MagePortals.lua:54: in main chunk

Tags
mageportals

Thread Tools



Mobile Style Русский English Deutsch Italian Chinese