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
+2 -2
View File
@@ -4,8 +4,8 @@
_ = nil
_detalhes = LibStub("AceAddon-3.0"):NewAddon("_detalhes", "AceTimer-3.0", "AceComm-3.0", "AceSerializer-3.0", "NickTag-1.0")
_detalhes.build_counter = 7927
_detalhes.alpha_build_counter = 7927 --if this is higher than the regular counter, use it instead
_detalhes.build_counter = 7930
_detalhes.alpha_build_counter = 7930 --if this is higher than the regular counter, use it instead
_detalhes.game_version = "v9.0.1"
_detalhes.userversion = "v9.0.1." .. _detalhes.build_counter
_detalhes.realversion = 143 --core version, this is used to check API version for scripts and plugins (see alias below)
+4
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