Geberal Bug Fixes

- Fixed an issue where sometimes resizing the window breaks it and need a reload.
- Fixed some classes showing the wrong icon (by nullKomplex)
This commit is contained in:
Tercioo
2019-07-07 11:51:58 -03:00
parent 04f621d78e
commit b48ea2a64d
3 changed files with 105 additions and 110 deletions
+1 -1
View File
@@ -685,7 +685,7 @@
if (self.baseframe.stretch_direction == "top") then
for _, instancia in _ipairs (self.stretchToo) do
instancia.baseframe:SetHeight (self.baseframe:GetHeight())
local mod = (self.baseframe:GetHeight() - instancia.baseframe._place.altura) / 2
local mod = (self.baseframe:GetHeight() - (instancia.baseframe._place.altura or instancia.baseframe:GetHeight())) / 2
instancia:RestoreMainWindowPositionNoResize (instancia.baseframe._place, nil, mod)
end
elseif (self.baseframe.stretch_direction == "bottom") then