fix bug
This commit is contained in:
parent
3137dc19cc
commit
23f80ea1e9
@ -5,7 +5,7 @@ CurrencyBar.cellWidth = 152
|
|||||||
CurrencyBar.cellHeight = 40
|
CurrencyBar.cellHeight = 40
|
||||||
|
|
||||||
local OFFSET_X = -21
|
local OFFSET_X = -21
|
||||||
local OFFSET_Y = -110
|
local OFFSET_Y = -92
|
||||||
|
|
||||||
function CurrencyBar:init()
|
function CurrencyBar:init()
|
||||||
self.currVisible = true
|
self.currVisible = true
|
||||||
@ -24,8 +24,8 @@ function CurrencyBar:init()
|
|||||||
self.currencyFlyImgList = {} -- 表现用飞行imgs
|
self.currencyFlyImgList = {} -- 表现用飞行imgs
|
||||||
|
|
||||||
-- 刘海屏
|
-- 刘海屏
|
||||||
local notchHeight = SafeAreaManager:getNotchScreenHeight()
|
-- local notchHeight = SafeAreaManager:getNotchScreenHeight()
|
||||||
self.currencyBg:setAnchoredPositionY(-notchHeight)
|
-- self.currencyBg:setAnchoredPositionY(-notchHeight)
|
||||||
self.titleBg = titleBg
|
self.titleBg = titleBg
|
||||||
self:setVisible(false)
|
self:setVisible(false)
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user