Add files via upload
This commit is contained in:
+5
-1
@@ -79,6 +79,9 @@ function MM:Create()
|
||||
btn:RegisterForClicks("LeftButtonUp", "RightButtonUp")
|
||||
btn:RegisterForDrag("LeftButton", "RightButton")
|
||||
btn:SetMovable(true)
|
||||
-- Allow the button to sit off-screen (via /attune pos or /attune offscreen)
|
||||
-- while remaining discoverable by MinimapButtonBag.
|
||||
if btn.SetClampedToScreen then btn:SetClampedToScreen(false) end
|
||||
-- MBB-friendly highlight so the button visually matches other
|
||||
-- minimap buttons once it has been swept into the bag.
|
||||
btn:SetHighlightTexture("Interface\\Minimap\\UI-Minimap-ZoomButton-Highlight")
|
||||
@@ -115,7 +118,8 @@ function MM:Create()
|
||||
GameTooltip:AddLine("Relationships Attune", 1, 0.82, 0)
|
||||
GameTooltip:AddLine("Left-click: open / close window", 0.9, 0.9, 0.9)
|
||||
GameTooltip:AddLine("Drag: move anywhere on screen", 0.9, 0.9, 0.9)
|
||||
GameTooltip:AddLine("/attune hide - hide this button", 0.6, 0.8, 1)
|
||||
GameTooltip:AddLine("/attune offscreen - park off-screen (MBB safe)", 0.6, 0.8, 1)
|
||||
GameTooltip:AddLine("/attune hide - hide this button", 0.6, 0.8, 1)
|
||||
GameTooltip:Show()
|
||||
end)
|
||||
btn:SetScript("OnLeave", function() GameTooltip:Hide() end)
|
||||
|
||||
Reference in New Issue
Block a user