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