- 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:
Parnic
2011-04-26 03:27:08 +00:00
parent 10962d8165
commit 26541f1ced
2 changed files with 6 additions and 2 deletions

View File

@ -91,6 +91,8 @@ end
function PlayerAlternatePower.prototype:GetOptions()
local opts = PlayerAlternatePower.super.prototype.GetOptions(self)
opts["lowThresholdColor"] = nil
opts["hideBlizz"] = {
type = "toggle",
name = L["Hide Blizzard Frame"],

View File

@ -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