-
-
Notifications
You must be signed in to change notification settings - Fork 422
Include a background to all canvas previews #206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
We can use the shader from #210 for the background. |
Also, looking at the project, it seems like this could be tied in pretty tightly with the project card related to effect previews. Is this something I should hold off on for the effects? I can do the animation cels and the export dialog only and leave the effect previews for @OverloadedOrama. |
I'm not sure why the desaturation effect affects the checker too. I'm going to replicate it too soon, I'll see if there's something wrong. Right now I'm working on creating an ImageEffect parent class from which most image effects will inherit. This'll make editing stuff that are common for image effects much easier. Then, I'll add checker backgrounds for the rest of the effects. Feel free to do the animation cels and the export dialog if you want @matthewpaul-us! |
Also made them inherit ImageEffect, resulting in much less and cleaner code. Only RotateImage remains. Partially addresses #206.
I managed to put a checker background to the rest of the image effects (except rotation) in f121c39 and it seems to be working fine. The filters do not affect the background from what I see, including the desaturation effect. |
@OverloadedOrama The solution you mentioned in my PR is the most modular one in my opinion and I think that is how it should be implemented. It also won't affect the image that way. |
Indeed, that is what I ended up doing. |
Yeah the code has been merged in the latest commit in |
Currently previews in the export dialog and in the timeline frames have all transparent backgrounds so the drawings are with some themes hard to see.


I propose to add a checker board background to all previews mentioned (or more solid color for timeline frame previews).
It should be considered if it's actually necessary to show a preview in the frame button since it mostly becomes unrecognizable (maybe a simple glyph that signifies that there is something in the layer would be better and more visible).
The text was updated successfully, but these errors were encountered: