mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
update RegisterForClicks
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user