Skip to content

Commit

Permalink
fixed transition_out issue if the next step doesnt have a transition_out
Browse files Browse the repository at this point in the history
  • Loading branch information
worldpeace-germany committed Aug 28, 2024
1 parent 0cb6e3c commit 06b04cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mpf/devices/segment_display/segment_display.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ def add_text_entry(self, text, color, flashing, flash_mask, transition, transiti
self.config['integrated_commas'],
self.config['use_dots_for_commas'],
self._previous_transition_out)
self._previous_transition_out = None # Once the transistion_out is played removed it that is not played in the next step again
if transition_out: #in case transition_out is set we need to preserve it for the next step but only after the previous transition_out is in this step's config
self._previous_transition_out = transition_out

Expand Down

0 comments on commit 06b04cb

Please sign in to comment.