update RegisterForClicks

This commit is contained in:
Crum
2018-12-06 14:00:56 -06:00
parent cad9c0707b
commit 4a28efae3b
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -961,7 +961,7 @@ function B:ContructContainerFrame(name, isBank)
--Allow dragging the frame around
f:SetMovable(true)
f:RegisterForDrag("LeftButton", "RightButton")
f:RegisterForClicks("AnyUp")
f:RegisterForClicks("LeftButtonUp", "RightButtonUp")
f:SetScript("OnDragStart", function() if IsShiftKeyDown() then this:StartMoving() end end)
f:SetScript("OnDragStop", function() this:StopMovingOrSizing() end)
f:SetScript("OnClick", function() if IsControlKeyDown() then B.PostBagMove(this.mover) end end)