temp fix
This commit is contained in:
Crum
2018-12-06 19:55:36 -06:00
parent 4d0cc6c85c
commit 84306fc0f6
+8 -6
View File
@@ -1439,12 +1439,14 @@ function B:PostBagMove()
local screenHeight = E.UIParent:GetTop()
local screenWidth = E.UIParent:GetRight()
if y > (screenHeight / 2) then
self:SetText(self.textGrowDown)
self.POINT = ((x > (screenWidth / 2)) and "TOPRIGHT" or "TOPLEFT")
else
self:SetText(self.textGrowUp)
self.POINT = ((x > (screenWidth / 2)) and "BOTTOMRIGHT" or "BOTTOMLEFT")
if x and y then -- Temp Fix
if y > (screenHeight / 2) then
self:SetText(self.textGrowDown)
self.POINT = ((x > (screenWidth / 2)) and "TOPRIGHT" or "TOPLEFT")
else
self:SetText(self.textGrowUp)
self.POINT = ((x > (screenWidth / 2)) and "BOTTOMRIGHT" or "BOTTOMLEFT")
end
end
local bagFrame