Skip to content

Commit e838816

Browse files
committed
comments, remove console logs
1 parent ffa84e6 commit e838816

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/Classes/ItemSlotControl.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ local ItemSlotClass = newClass("ItemSlotControl", "DropDownControl", function(se
4646
self.abyssalSocketList = { }
4747
self.tooltipFunc = function(tooltip, mode, index, itemId)
4848
local item = itemsTab.items[self.items[index]]
49-
if main.popups[1] or mode == "OUT" or not item or (not self.dropped and itemsTab.selControl and itemsTab.selControl ~= self.controls.activate) then
49+
-- not selControl.ListControl allows hover when All Items or Unique/Rare DB Sections are in focus
50+
if main.popups[1] or mode == "OUT" or not item or (not self.dropped and itemsTab.selControl and itemsTab.selControl ~= self.controls.activate and not itemsTab.selControl.ListControl) then
5051
tooltip:Clear(true)
5152
elseif tooltip:CheckForUpdate(item, launch.devModeAlt, itemsTab.build.outputRevision) then
5253
itemsTab:AddItemTooltip(tooltip, item, self)

src/Classes/Tooltip.lua

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ end
4343
local TooltipClass = newClass("Tooltip", function(self)
4444
self.lines = { }
4545
self.blocks = { }
46-
self.iterate = 0
4746
self:Clear()
4847
end)
4948

@@ -78,8 +77,6 @@ function TooltipClass:CheckForUpdate(...)
7877
if doUpdate or self.updateParams.notSupportedModTooltips ~= main.notSupportedModTooltips then
7978
self.updateParams.notSupportedModTooltips = main.notSupportedModTooltips
8079
self:Clear()
81-
self.iterate = self.iterate + 1
82-
ConPrintf("Iteration count: "..self.iterate)
8380
return true
8481
end
8582
end

0 commit comments

Comments
 (0)