Full Revamp on Auto Hide Settings
This commit is contained in:
@@ -609,7 +609,7 @@ end
|
||||
end
|
||||
end
|
||||
|
||||
if (type (self.hide_in_combat_type) == "number" and self.hide_in_combat_type > 1 and _detalhes.LastShowCommand and _detalhes.LastShowCommand+10 > GetTime()) then
|
||||
if (_detalhes.LastShowCommand and _detalhes.LastShowCommand+10 > GetTime()) then
|
||||
self:ToolbarMenuButtons()
|
||||
self:ToolbarSide()
|
||||
self:AttributeMenu()
|
||||
@@ -621,16 +621,16 @@ end
|
||||
_detalhes.WindowAutoHideTick [self.meu_id] = C_Timer.NewTicker (10, function()
|
||||
if (self.last_interaction) then
|
||||
if (self.last_interaction + 10 < _detalhes._tempo) then
|
||||
self:SetCombatAlpha (nil, nil, true)
|
||||
self:AdjustAlphaByContext(true)
|
||||
_detalhes.WindowAutoHideTick [self.meu_id]:Cancel()
|
||||
end
|
||||
else
|
||||
self:SetCombatAlpha (nil, nil, true)
|
||||
self:AdjustAlphaByContext(true)
|
||||
_detalhes.WindowAutoHideTick [self.meu_id]:Cancel()
|
||||
end
|
||||
end)
|
||||
else
|
||||
self:SetCombatAlpha (nil, nil, true)
|
||||
self:AdjustAlphaByContext(true)
|
||||
end
|
||||
|
||||
self:DesaturateMenu()
|
||||
|
||||
Reference in New Issue
Block a user