mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user