Skip to content

Commit

Permalink
2.6.2
Browse files Browse the repository at this point in the history
fixed logic issue
added note to tooltip option about poor interaction with Collapse Display option
  • Loading branch information
Noshei committed Oct 21, 2024
1 parent 3ab7277 commit a56acbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,8 @@ local generalOptions = {
type = "toggle",
name = "Display Item Tooltip",
desc =
"When selected the item tooltip will be displayed when mousing over an items icon.",
"When selected the item tooltip will be displayed when mousing over an items icon.\n\n" ..
"Interacts poorly with the Collapse Display option, not recommended to use both.",
width = 1.70,
get = function() return GT.db.profile.General.itemTooltip end,
set = function(_, key)
Expand Down
2 changes: 1 addition & 1 deletion DisplayCreation.lua
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ function GT:DisplayFrameIcon(frame, iconId, id)
frame.icon:SetHeight(GT.db.profile.General.iconHeight)
frame.icon:Show()

if id <= #GT.ItemData.Other.Other and id >= 9999999998 then
if id <= #GT.ItemData.Other.Other or id >= 9999999998 then
return
end
if not GT.db.profile.General.itemTooltip then
Expand Down

0 comments on commit a56acbd

Please sign in to comment.