mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
- fixed PlayerInfo to only show the "buff canceling is disabled" message when a buff is right-clicked instead of any button click. also clarified the popup message to better explain why the feature is currently disabled
- hid "Low Threshold Color" toggle for the PlayerAlternatePower bar since it doesn't make sense for that module
This commit is contained in:
@ -53,7 +53,7 @@ end
|
||||
|
||||
StaticPopupDialogs["ICEHUD_BUFF_DISMISS_UNAVAILABLE"] =
|
||||
{
|
||||
text = "Sorry, but there is currently no way for custom mods to cancel buffs. This will be fixed whenever Blizzard fixes the API.",
|
||||
text = "Sorry, but there is currently no simple way for custom mods to cancel buffs while retaining flexibility in how buffs are displayed. This will be fixed whenever the API is more accessible and I get some free time.",
|
||||
button1 = OKAY,
|
||||
timeout = 0,
|
||||
whileDead = 1,
|
||||
@ -62,7 +62,9 @@ StaticPopupDialogs["ICEHUD_BUFF_DISMISS_UNAVAILABLE"] =
|
||||
|
||||
local function OnBuffMouseUp(frame, button)
|
||||
if IceHUD.WowVer >= 40000 then
|
||||
StaticPopup_Show("ICEHUD_BUFF_DISMISS_UNAVAILABLE")
|
||||
if button == "RightButton" then
|
||||
StaticPopup_Show("ICEHUD_BUFF_DISMISS_UNAVAILABLE")
|
||||
end
|
||||
else
|
||||
--[[ if( button == "RightButton" ) then
|
||||
if buffs[i].type == "mh" then
|
||||
|
Reference in New Issue
Block a user