This commit is contained in:
Tercio Jose
2022-09-13 20:10:37 -03:00
parent 10a55d2fbe
commit 74d6114546
15 changed files with 703 additions and 978 deletions
+6 -2
View File
@@ -1608,14 +1608,18 @@ function _detalhes:RestauraJanela(index, temp, load_only)
else
self.mostrando = "normal"
end
--fix for the weird white window default skin
--this is a auto detect for configuration corruption, happens usually when the user install Details! over old config settings
--check if the skin used in the window is the default skin, check if statusbar is in use and if the color of the window is full white
if (self.skin == _detalhes.default_skin_to_use and self.show_statusbar) then
if(self.color[1] == 1 and self.color[2] == 1 and self.color[3] == 1 and self.color[4] == 1) then
print ("|cFFFF2222Details!: Corrupted skin detected! Resetting window skin to default.")
Details:Msg("error 0xFF85DD")
self.skin = "no skin"
self:ChangeSkin(_detalhes.default_skin_to_use)
end
end
--> internal stuff
self.oldwith = self.baseframe:GetWidth()