- Fixed an issue when freeze text where getting out of instance space.

- Fixed an issue when resizing freeze text where not resizing too.
- Added an extra parameter for Image Editor.
- Added Archeology and Class Character Images for Instance backgrounds.
- Fixen an issue when calling image editor throgh options panel where calling
wrong instance.
This commit is contained in:
Tercio
2013-08-10 15:54:15 -03:00
parent 10246a41fb
commit 2be7a9f1f5
6 changed files with 72 additions and 7 deletions
+3
View File
@@ -204,10 +204,13 @@ end
function combate:GetCombatTime()
if (self.end_time) then
--print ("tem end time")
return self.end_time - self.start_time
elseif (self.start_time and _detalhes.in_combat) then
--print ("tem start time e esta em combate")
return _tempo - self.start_time
else
--print ("retornando zero")
return 0
end
end
+5 -1
View File
@@ -925,8 +925,12 @@ function _detalhes:Freeze (instancia)
gump:Fade (instancia, "in", nil, "barras")
end
instancia.freeze_texto:Show()
instancia.freeze_icon:Show()
instancia.freeze_texto:Show()
local width = instancia:GetSize()
instancia.freeze_texto:SetWidth (width-64)
instancia.freezed = true
end