Invalidate Preview Window when pasting Frame (fix #2215) - #3434
Conversation
|
While the original Issue #2215 that the frame editor was not updated when pasting a cel, was resolved, the preview window still did not update correctly. I know throwing another widget invalidate in there is not the best solution. I am still new to the code base so it took me a bit to understand how the messaging and observer system work in this case. But as I said I wanted to keep the changes to a minimum and imo another observer class just for this would be overkill. |
|
Thanks for your PR @Joefish 👍 I've just tested and while it fixes the problem with the preview editor, I saw that it doesn't fix the problem if we have multiple editors, e.g. (in second 0:05 the cel is pasted): Screencast.2022-11-17.11.17.18.mp4As you saw, an |
I agree that my contributions are licensed under the Individual Contributor License Agreement V3.0 ("CLA") as stated in https://github.com/aseprite/sourcecode/blob/main/cla.md
I have signed the CLA following the steps given in https://github.com/aseprite/sourcecode/blob/main/sign-cla.md#sign-the-cla