Skip to content

Commit f70cfa2

Browse files
committed
Fix for my own addons
1 parent 90407ee commit f70cfa2

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

ChangeLog.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Coming next:
44
- Your input/suggestions welcome !
55
- See open issues for ideas https://github.com/mooreatv/NeatMinimap/issues)
66

7+
v1.02.02 Sept 11th 2019
8+
- Fix for my own [!] MoLib button/icons (like PixelPerfectAlign's)
79
v1.02.00 Sept 11th 2019
810
- Work properly with ElvUI (don't show back hidden buttons) (Fixes #1)
911
v1.01.00 Sept 11th 2019

NeatMinimap/NeatMinimap.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,10 @@ function NMM:UpdateButtons()
161161
if NMM.exclude[name] or not b.Hide then
162162
self:Debug("Skipping % %", name, b.Hide)
163163
else
164-
if not name then
164+
name = name or b.name
165+
if not name and not b.icon then
165166
self:Debug("Skipping unamed frame/button")
166-
elseif NMM:StartsWith(name, "QuestieFrame") then
167+
elseif name and NMM:StartsWith(name, "QuestieFrame") then
167168
self:Debug(4, "Skipping QuestieFrames %", name)
168169
else
169170
self:Debug("Adding %", name)

0 commit comments

Comments
 (0)