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
@@ -292,7 +292,7 @@ function AB:LoadKeyBinder()
E:Point(header, "CENTER", f, "TOP")
header:SetFrameLevel(header:GetFrameLevel() + 2)
header:EnableMouse(true)
header:RegisterForClicks("AnyUp", "AnyDown")
header:RegisterForClicks("LeftButtonUp", "RightButtonUp", "LeftButtonDown", "RightButtonDown")
header:SetScript("OnMouseDown", function() f:StartMoving() end)
header:SetScript("OnMouseUp", function() f:StopMovingOrSizing() end)