优化点击
This commit is contained in:
parent
f7fe3e48ab
commit
c8c30b9aec
@ -102,6 +102,7 @@ function RuneChapterCell:refresh(id, index, isFinal, chapterListCount)
|
||||
end)
|
||||
end
|
||||
end
|
||||
|
||||
if isBossChapter then
|
||||
self.rewardCells[1]:getBaseObject():setAnchoredPositionX(-43)
|
||||
self.rewardCells[2]:getBaseObject():setAnchoredPositionX(43)
|
||||
@ -109,6 +110,12 @@ function RuneChapterCell:refresh(id, index, isFinal, chapterListCount)
|
||||
self.rewardCells[1]:getBaseObject():setAnchoredPositionX(-35)
|
||||
self.rewardCells[2]:getBaseObject():setAnchoredPositionX(35)
|
||||
end
|
||||
|
||||
sweep:addClickListener(function()
|
||||
if self.clickFunc then
|
||||
self.clickFunc()
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
||||
function RuneChapterCell:addClickListener(func)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user