mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-02 09:05:04 -05:00
Instead of pulling the preview canvas from the konva internals, use the canvas created for bbox calculations as the preview canvas. This doesn't change perf characteristics, because we were already creating this canvas. It just means we don't need to dip into the konva internals. It fixes an issue where the layer preview didn't update or show when a layer is disabled or otherwise hidden.