Skip to content

Commit

Permalink
Update segment_display.py
Browse files Browse the repository at this point in the history
comments improved
  • Loading branch information
worldpeace-germany authored Jan 12, 2025
1 parent dfdede8 commit dc696fd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions mpf/devices/segment_display/segment_display.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,8 @@ def add_text_entry(self, text, color, flashing, flash_mask, transition, transiti

# For the replace-text update method, skip the stack and write straight to the display

###############################
#Store current color and text as previous text/color of next run even if no transition in this step,
#the next step might have a transition, that the old text/color needs to be included into that transition
###############################
# Store current color and text as previous text/color of next run even if no transition in this step,
# the next step might have a transition, that the old text/color needs to be included into that transition

# Handle new and previous text
previous_text = self._previous_text or ""
Expand Down

0 comments on commit dc696fd

Please sign in to comment.