Right now if you update the image before the previous image load completes, it still swaps the unloaded image in as the background which can lead to the background color flashing into view. It would be better to simply discard the unloaded image, and keep the last loaded image as the background.
Right now if you update the image before the previous image load completes, it still swaps the unloaded image in as the background which can lead to the background color flashing into view. It would be better to simply discard the unloaded image, and keep the last loaded image as the background.