- Added new custom display: Health Potion & Stone.

- Added tooltip and support for healers on 'My Spells' display.
- Changed healing multistrike to use the same format as damage done.
- Fre improvements on Tiny Threat plugin: color gradient green-red is fixed, texts and bar texture now correctly uses the window settings.
- Fixed 'First Hit' raid tool.
- Fixed 'Open Options Panel' from interface panel.
This commit is contained in:
tercio
2014-12-29 20:07:27 -02:00
parent 371392c58e
commit 4bf68ad564
10 changed files with 546 additions and 131 deletions
+15
View File
@@ -1436,6 +1436,21 @@
f.options_button:SetWidth (170)
f.options_button:SetScript ("OnClick", function (self)
local lower_instance = _detalhes:GetLowerInstanceNumber()
if (not lower_instance) then
--> no window opened?
local instance1 = _detalhes.tabela_instancias [1]
if (instance1) then
instance1:Enable()
return _detalhes:OpenOptionsWindow (instance1)
else
instance1 = _detalhes:CriarInstancia (_, true)
if (instance1) then
return _detalhes:OpenOptionsWindow (instance1)
else
_detalhes:Msg ("couldn't open options panel: no window available.")
end
end
end
_detalhes:OpenOptionsWindow (_detalhes:GetInstance (lower_instance))
end)