Fix ignore

This commit is contained in:
2022-11-11 10:27:27 -06:00
parent 89dd251093
commit a6d396e88d
2 changed files with 3 additions and 2 deletions

View File

@ -1059,8 +1059,8 @@ function Breakables:OnMouseUp(frame)
self.settings.buttonFrameTop[frameNum] = frame:GetTop()
end
local function IgnoreFunc(self, button)
if button == "RightButton" and not InCombatLockdown() then
local function IgnoreFunc(self, button, isDown)
if button == "RightButton" and isDown and not InCombatLockdown() then
Breakables.settings.ignoreList[self.itemId] = true
Breakables:FindBreakables()
LibStub("AceConfigRegistry-3.0"):NotifyChange("Breakables")