This commit is contained in:
Tercio Jose 2020-10-19 13:11:13 -03:00
parent 6e7414fb6b
commit 4cf0bf3484
2 changed files with 6 additions and 2 deletions

View file

@ -597,6 +597,8 @@ end
self.ativa = true
self.cached_bar_width = self.cached_bar_width or 0
self.modo = self.modo or 2
local lower = _detalhes:GetLowerInstanceNumber()
@ -644,6 +646,7 @@ end
self:ToolbarSide()
self:AttributeMenu()
--[=[ --this block was showing back the window after using /details hide, It's probably a leftover from the new Auto Hide and the old one.
_detalhes.WindowAutoHideTick = _detalhes.WindowAutoHideTick or {}
if (_detalhes.WindowAutoHideTick [self.meu_id]) then
_detalhes.WindowAutoHideTick [self.meu_id]:Cancel()
@ -659,6 +662,7 @@ end
_detalhes.WindowAutoHideTick [self.meu_id]:Cancel()
end
end)
--]=]
else
self:AdjustAlphaByContext(true)
end