Files
InvokeAI/invokeai/frontend/web
psychedelicious d1776e0b63 feat(ui): safer use of drawImage
When calling `ctx.drawImage()`, if the image to be drawn has a width of height of 0, the call will raise.

In this change, I have carefully reviewed the call hierarchy for all of our own code that calls this method and ensured that each call has error handling.

Well, with one exception - I'm not sure how to handle errors in `invokeai/frontend/web/src/common/hooks/useClientSideUpload.ts`. But this should never be an issue in that hook - it's a Canvas problem.
2025-04-09 14:00:20 +10:00
..
2025-04-09 14:00:20 +10:00
2024-01-12 08:02:59 +11:00
2023-07-28 09:46:44 -04:00
2024-05-15 14:09:44 +10:00
2025-04-04 18:42:13 +11:00
2025-04-03 12:42:28 +11:00
2024-03-01 10:42:33 +11:00