diff --git a/boot.lua b/boot.lua index 54f2ce189..02102e4d7 100644 --- a/boot.lua +++ b/boot.lua @@ -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) diff --git a/classes/class_instance.lua b/classes/class_instance.lua index 87e92b824..3e65d72ce 100644 --- a/classes/class_instance.lua +++ b/classes/class_instance.lua @@ -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