fix bad dan select animation

This commit is contained in:
Anthony Samms
2025-11-10 00:14:38 -05:00
parent b20a50768b
commit b381f4f897
2 changed files with 4 additions and 2 deletions

View File

@@ -529,7 +529,7 @@ class DanBox:
self.move = Animation.create_move(83.3*2, start_position=0, total_distance=300 * direction, ease_out='cubic')
self.move.start()
if self.is_open or self.target_position == BOX_CENTER + 150:
self.move.total_distance = 450 * direction
self.move.total_distance = 450 * direction * -1
self.start_position = self.position
if self.move is not None:
self.move.update(get_current_ms())