Fix right-click ignores

This commit is contained in:
2022-10-27 20:17:27 -05:00
parent d299ed3d3f
commit a98b02e7cb
2 changed files with 5 additions and 1 deletions

View File

@ -1106,7 +1106,7 @@ function Breakables:FindBreakables(bag)
btn:SetWidth(buttonSize)
btn:SetHeight(buttonSize)
btn:EnableMouse(true)
btn:RegisterForClicks("LeftButtonUp", "LeftButtonDown")
btn:RegisterForClicks("AnyUp", "AnyDown")
btn:SetAttribute("type1", "spell")