Actually fix highlight animator not triggering repaint

This commit is contained in:
2023-02-02 10:06:00 -06:00
parent 07fdf0055e
commit d61785c98a

View File

@@ -626,8 +626,6 @@ module TAC
super
unless @highlight_animator.complete?
current_state.request_repaint
item = @highlight_item_container
Gosu.draw_rect(
@@ -642,6 +640,8 @@ module TAC
def update
super
current_state.request_repaint unless @highlight_animator.complete?
while (hash = @scroll_into_view_list.shift)
list_container = hash[:list]
item_container = hash[:item]