mirror of
https://github.com/TimeCrafters/timecrafters_configuration_tool_desktop.git
synced 2025-12-16 05:42:35 +00:00
Actually fix highlight animator not triggering repaint
This commit is contained in:
@@ -626,8 +626,6 @@ module TAC
|
|||||||
super
|
super
|
||||||
|
|
||||||
unless @highlight_animator.complete?
|
unless @highlight_animator.complete?
|
||||||
current_state.request_repaint
|
|
||||||
|
|
||||||
item = @highlight_item_container
|
item = @highlight_item_container
|
||||||
|
|
||||||
Gosu.draw_rect(
|
Gosu.draw_rect(
|
||||||
@@ -642,6 +640,8 @@ module TAC
|
|||||||
def update
|
def update
|
||||||
super
|
super
|
||||||
|
|
||||||
|
current_state.request_repaint unless @highlight_animator.complete?
|
||||||
|
|
||||||
while (hash = @scroll_into_view_list.shift)
|
while (hash = @scroll_into_view_list.shift)
|
||||||
list_container = hash[:list]
|
list_container = hash[:list]
|
||||||
item_container = hash[:item]
|
item_container = hash[:item]
|
||||||
|
|||||||
Reference in New Issue
Block a user