Fix window showing bck after 10seconds of /de hide

This commit is contained in:
Tercio Jose
2020-08-21 13:24:00 -03:00
parent bc04237981
commit eabba12e08
3 changed files with 11 additions and 3 deletions
+7 -3
View File
@@ -1,5 +1,5 @@
local dversion = 193
local dversion = 194
local major, minor = "DetailsFramework-1.0", dversion
local DF, oldminor = LibStub:NewLibrary (major, minor)
@@ -1083,7 +1083,9 @@ end
height = height*-1
for index, widget_table in ipairs(menu) do
local widget_created
if (not widget_table.novolatile) then
--step a line
@@ -1414,7 +1416,9 @@ end
max_x = 0
end
widget_created:Show()
if widget_created then
widget_created:Show()
end
end
end
+2
View File
@@ -616,6 +616,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()
@@ -631,6 +632,7 @@ end
_detalhes.WindowAutoHideTick [self.meu_id]:Cancel()
end
end)
--]=]
else
self:AdjustAlphaByContext(true)
end
+2
View File
@@ -222,6 +222,8 @@
[32175] = 17364, -- shaman Stormstrike (from Turkar on github)
[32176] = 17364, -- shaman Stormstrike
[271685] = 281686, --Heed my Call
}