Because calling Gui.update_screen() invalidates tile indices, it will cause errors if scrolling is ongoing, since scrolling depends on the chip indices staying the same for the entire scrolling part, and that gets cleared on a screen refresh. With the current implementation, any ongoing scrolling should at least be cancelled first if a screen update happens.
Because calling
Gui.update_screen()
invalidates tile indices, it will cause errors if scrolling is ongoing, since scrolling depends on the chip indices staying the same for the entire scrolling part, and that gets cleared on a screen refresh. With the current implementation, any ongoing scrolling should at least be cancelled first if a screen update happens.