Skip to content

Commit

Permalink
tooltips: GetMouseFocus -> GetMouseFoci
Browse files Browse the repository at this point in the history
  • Loading branch information
ferronn-dev committed Sep 27, 2024
1 parent e7baf78 commit 73ec4c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addonmaker
2 changes: 1 addition & 1 deletion tooltips.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ local scriptHooks = {
local shown = t.shownMoneyFrames
if price and price > 0 and not (shown and shown > 0) then
local count = 1
local m = GetMouseFocus()
local m = GetMouseFoci()[1]
if m and type(m.count) == 'number' and m.count > 1 then
count = m.count
end
Expand Down

0 comments on commit 73ec4c1

Please sign in to comment.