diff --git a/IceHUD.lua b/IceHUD.lua index 2432cfe..52d25aa 100644 --- a/IceHUD.lua +++ b/IceHUD.lua @@ -590,6 +590,7 @@ end local BLACKLISTED_UNIT_MENU_OPTIONS = { SET_FOCUS = "ICEHUD_SET_FOCUS", CLEAR_FOCUS = "ICEHUD_CLEAR_FOCUS", + PET_DISMISS = "ICEHUD_PET_DISMISS", LOCK_FOCUS_FRAME = true, UNLOCK_FOCUS_FRAME = true, } @@ -606,6 +607,12 @@ UnitPopupButtons["ICEHUD_CLEAR_FOCUS"] = { dist = 0, } +UnitPopupButtons["ICEHUD_PET_DISMISS"] = { + text = L["Use your Dismiss Pet spell to dismiss a pet"], + tooltipText = L["Blizzard currently does not provide a proper way to right-click dismiss a pet with custom unit frames."], + dist = 0, +} + local munged_unit_menus = {} local function munge_unit_menu(menu) local result = munged_unit_menus[menu]