small adjustments and bug fixes

This commit is contained in:
Tercio Jose
2022-10-08 11:22:36 -03:00
parent f1fa3f5cfe
commit e449983e0c
16 changed files with 314 additions and 79 deletions
+9 -9
View File
@@ -1924,29 +1924,29 @@ end
------------------------------------------------------------------------------------------------------------------------
function _detalhes:InstanceReset (instance)
function _detalhes:InstanceReset(instance)
if (instance) then
self = instance
end
Details.FadeHandler.Fader (self, "in", nil, "barras")
self:AtualizaSegmentos (self)
Details.FadeHandler.Fader(self, "in", nil, "barras")
self:AtualizaSegmentos(self)
self:AtualizaSoloMode_AfertReset()
self:ResetaGump()
if (not _detalhes.initializing) then
_detalhes:RefreshMainWindow (self, true) --atualiza todas as instancias
_detalhes:RefreshMainWindow(self, true) --atualiza todas as instancias
end
end
function _detalhes:RefreshBars (instance)
function _detalhes:RefreshBars(instance)
if (instance) then
self = instance
end
self:InstanceRefreshRows (instancia)
self:InstanceRefreshRows(instance)
end
function _detalhes:SetBackgroundColor (...)
function _detalhes:SetBackgroundColor(...)
local red = select (1, ...)
if (not red) then
self.bgdisplay:SetBackdropColor (self.bg_r, self.bg_g, self.bg_b, self.bg_alpha)