修复传送带模式中点击到达传送带底部的卡片没有透明度变化的bug
This commit is contained in:
parent
9303304e94
commit
b8a7fc0a66
@ -365,7 +365,7 @@ class MoveCard():
|
|||||||
elif (current_time - self.move_timer) >= c.CARD_MOVE_TIME:
|
elif (current_time - self.move_timer) >= c.CARD_MOVE_TIME:
|
||||||
if self.rect.x > left_x:
|
if self.rect.x > left_x:
|
||||||
self.rect.x -= 1
|
self.rect.x -= 1
|
||||||
self.image = self.createShowImage()
|
self.image = self.createShowImage()
|
||||||
self.move_timer += c.CARD_MOVE_TIME
|
self.move_timer += c.CARD_MOVE_TIME
|
||||||
|
|
||||||
def draw(self, surface):
|
def draw(self, surface):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user