红点遮挡处理
This commit is contained in:
parent
fe726dbebf
commit
1ccef0858b
@ -139,22 +139,22 @@ end
|
|||||||
-- 刷新标签红点
|
-- 刷新标签红点
|
||||||
function ActivityUI:refreshRedPoint()
|
function ActivityUI:refreshRedPoint()
|
||||||
if DataManager.ActivityData:hasTaskRedPoint() then
|
if DataManager.ActivityData:hasTaskRedPoint() then
|
||||||
self.btnTask:addRedPoint(-55, 0, 0.6)
|
self.btnTask:addRedPoint(-65, -5, 0.6)
|
||||||
else
|
else
|
||||||
self.btnTask:removeRedPoint()
|
self.btnTask:removeRedPoint()
|
||||||
end
|
end
|
||||||
if DataManager.ActivityData:hasBountyRedPoint() then
|
if DataManager.ActivityData:hasBountyRedPoint() then
|
||||||
self.btnBounty:addRedPoint(-55, 0, 0.6)
|
self.btnBounty:addRedPoint(-65, -5, 0.6)
|
||||||
else
|
else
|
||||||
self.btnBounty:removeRedPoint()
|
self.btnBounty:removeRedPoint()
|
||||||
end
|
end
|
||||||
if DataManager.ActivityData:hasSkinRedPoint() then
|
if DataManager.ActivityData:hasSkinRedPoint() then
|
||||||
self.btnSkin:addRedPoint(-55, 0, 0.6)
|
self.btnSkin:addRedPoint(-65, -5, 0.6)
|
||||||
else
|
else
|
||||||
self.btnSkin:removeRedPoint()
|
self.btnSkin:removeRedPoint()
|
||||||
end
|
end
|
||||||
if DataManager.ActivityData:hasHeroRedPoint() then
|
if DataManager.ActivityData:hasHeroRedPoint() then
|
||||||
self.btnHero:addRedPoint(-55, 0, 0.6)
|
self.btnHero:addRedPoint(-65, -5, 0.6)
|
||||||
else
|
else
|
||||||
self.btnHero:removeRedPoint()
|
self.btnHero:removeRedPoint()
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user