Skip to content

Commit 0b8fd99

Browse files
committed
Code cleanup
1 parent 591d065 commit 0b8fd99

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/miniTreeInTooltip.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ function Module:GetDiffForNode(nodeID, targetEntry, targetRank)
533533
return useCustomColors and self.customColors[diff] or diff;
534534
end
535535

536-
--- @class TalentTreeTweaks_TreeInMinimapContainerMixin
536+
--- @class TalentTreeTweaks_TreeInMinimapContainerMixin: Frame
537537
local containerMixin = {};
538538
function containerMixin:Init()
539539
self.spacing = 20;
@@ -544,7 +544,9 @@ function containerMixin:Init()
544544
self:SetSize(self.expectedMaxCols * self.spacing, self.expectedMaxRows * self.spacing);
545545
self:Hide();
546546

547+
--- @type FramePool<Frame>
547548
self.dotPool = CreateFramePool("FRAME", self);
549+
--- @type ObjectPool<Line>
548550
self.linePool = CreateObjectPool(
549551
function() return self:CreateLine(); end,
550552
function(_, line) line:Hide(); end

0 commit comments

Comments
 (0)