Skip to content

Commit

Permalink
Also register for AnyUp
Browse files Browse the repository at this point in the history
  • Loading branch information
Justw8 committed Aug 22, 2024
1 parent d7cf518 commit e3d2951
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TeleportMenu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ local function createAnchors()
end
button:SetPoint("TOPLEFT", buttonsFrame, "TOPRIGHT", 0, yOffset)
button:EnableMouse(true)
button:RegisterForClicks("AnyDown")
button:RegisterForClicks("AnyDown", "AnyUp")
button:SetFrameStrata("HIGH")
button:SetFrameLevel(101)
button.cooldownFrame = createCooldownFrame(button)
Expand All @@ -279,7 +279,7 @@ local function createAnchors()
button:SetNormalTexture(texture)
button:SetPoint("TOPLEFT", buttonsFrame, "TOPRIGHT", 0, yOffset)
button:EnableMouse(true)
button:RegisterForClicks("AnyDown")
button:RegisterForClicks("AnyDown", "AnyUp")
button:SetFrameStrata("HIGH")
button:SetFrameLevel(101)
button:SetScript("OnEnter", function(self)
Expand Down

0 comments on commit e3d2951

Please sign in to comment.