From 4cf0bf3484d0bf890976d66675a3745097ced6d0 Mon Sep 17 00:00:00 2001 From: Tercio Jose Date: Mon, 19 Oct 2020 13:11:13 -0300 Subject: [PATCH] fix --- boot.lua | 4 ++-- classes/class_instance.lua | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) 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