lingmeng 2026-03-13 00:21:14 +08:00
commit 534209530f
1 changed files with 5 additions and 3 deletions

View File

@ -241,11 +241,13 @@ function M:InitHandCard(isPlayAni, index)
end end
pokerListNum = pokerListNum + 1 pokerListNum = pokerListNum + 1
local card_view = self.card_list[j] local card_view = self.card_list[j]
if card_view ~= nil then
card_view.btn_card:RemoveFromParent() card_view.btn_card:RemoveFromParent()
self._area_handcard_list:AddChild(card_view.btn_card) self._area_handcard_list:AddChild(card_view.btn_card)
card_view.btn_card:TweenMove(self:GetHandCardPos(card_view, self.cards_count), 0.08) card_view.btn_card:TweenMove(self:GetHandCardPos(card_view, self.cards_count), 0.08)
end end
end end
end
self:UpdateHandCardsPos() self:UpdateHandCardsPos()
self._mainView._popEvent = true self._mainView._popEvent = true
self:UpdateIsOnClick(true) self:UpdateIsOnClick(true)