mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-13 06:14:58 -05:00
There was a subtle issue where the progress image wasn't ever cleared, preventing the context menu from working on staging area preview images. The staging area preview images were displaying the last progress image _on top of_ the result image. Because the image elements were so small, you wouldn't notice that you were looking at a low-res progress image. Right clicking a progress image gets you no menu. If you refresh the page or switch tabs, this would fix itself, because those actions clear out the progress images. The result image would then be the topmost element, and the context menu works. Fixing this without introducing a flash of empty space as the progress image was hidden required a bit of refactoring. We have to wait for the result image element to load before clearing out the progress. Result - progress images appear to "resolve" to result images in the staging area without any blips or jank, and the context menu works after that happens.