Skip to content

Commit b255429

Browse files
committed
Add a space between icons and loadout names (closes #37)
1 parent 786436d commit b255429

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

core/TalentLoadoutManager.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ TLM._ns = ns;
77

88
_G.TalentLoadoutManager = TLM;
99

10-
local BLIZZ_ATLAS = CreateAtlasMarkup("gmchat-icon-blizz", 16, 16);
11-
local XP_ATLAS = CreateAtlasMarkup("GarrMission_CurrencyIcon-Xp", 16, 16);
10+
local BLIZZ_ATLAS = CreateAtlasMarkup("gmchat-icon-blizz", 16, 16) .. " ";
11+
local XP_ATLAS = CreateAtlasMarkup("GarrMission_CurrencyIcon-Xp", 16, 16) .. " ";
1212

1313
ns.SERIALIZATION_NODE_SEPARATOR = "\n";
1414
--- format: nodeID_entryID_spellIDOrSubTreeID_rank

modules/SideBarMixin.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ local SETTING_SUFFIX_COLLAPSED = "_Collapsed";
2727
local SETTING_SUFFIX_ANCHOR_LOCATION = "_AnchorLocation";
2828
local ANCHOR_LEFT = 0;
2929
local ANCHOR_RIGHT = 1;
30-
local LOCK_MARKUP = CreateAtlasMarkup("AdventureMapIcon-Lock", 16, 16);
30+
local LOCK_MARKUP = CreateAtlasMarkup("AdventureMapIcon-Lock", 16, 16) .. " ";
3131

3232
function SideBarMixin:OnInitialize()
3333
local loadoutNameSubText = "Anything before the first '||' character will not display. This allows you to sort loadouts by adding a prefix.";
@@ -748,7 +748,7 @@ function SideBarMixin:CreateScrollBox(parentContainer)
748748
end
749749
local text = entry.text;
750750
if entry.data.isLocked then
751-
text = LOCK_MARKUP .. " " .. text;
751+
text = LOCK_MARKUP .. text;
752752
end
753753
if entry.parentID then
754754
text = " || " .. text;

0 commit comments

Comments
 (0)