This commit is contained in:
Tercio Jose
2022-12-01 13:11:45 -03:00
parent 2dcb54d90b
commit cad2f6e619
+10 -3
View File
@@ -161,6 +161,16 @@ function _detalhes:AbreJanelaInfo (jogador, from_att_change, refresh, ShiftKeyDo
end
end
local infoNumPoints = info:GetNumPoints()
for i = 1, infoNumPoints do
local a, b, c, d, e = info:GetPoint(i)
if (not b) then
info:ClearAllPoints()
end
end
info:SetPoint("center", _G.UIParent, "center", 0, 0)
--passar os parmetros para dentro da tabela da janela.
info.ativo = true --sinaliza o addon que a janela esta aberta
@@ -1667,9 +1677,6 @@ function gump:CriaJanelaInfo()
--fehcar com o esc
tinsert(UISpecialFrames, este_gump:GetName())
--propriedades da janela
este_gump:SetPoint("CENTER", UIParent)
este_gump:SetWidth(PLAYER_DETAILS_WINDOW_WIDTH)
este_gump:SetHeight(PLAYER_DETAILS_WINDOW_HEIGHT)