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 screenHeight = E.UIParent:GetTop()
local screenWidth = E.UIParent:GetRight() local screenWidth = E.UIParent:GetRight()
if y > (screenHeight / 2) then if x and y then -- Temp Fix
self:SetText(self.textGrowDown) if y > (screenHeight / 2) then
self.POINT = ((x > (screenWidth / 2)) and "TOPRIGHT" or "TOPLEFT") self:SetText(self.textGrowDown)
else self.POINT = ((x > (screenWidth / 2)) and "TOPRIGHT" or "TOPLEFT")
self:SetText(self.textGrowUp) else
self.POINT = ((x > (screenWidth / 2)) and "BOTTOMRIGHT" or "BOTTOMLEFT") self:SetText(self.textGrowUp)
self.POINT = ((x > (screenWidth / 2)) and "BOTTOMRIGHT" or "BOTTOMLEFT")
end
end end
local bagFrame local bagFrame