Skip to content
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

Is it possible to grey out inactive scraps? #21

Open
CaverBruce opened this issue Sep 6, 2022 · 6 comments
Open

Is it possible to grey out inactive scraps? #21

CaverBruce opened this issue Sep 6, 2022 · 6 comments

Comments

@CaverBruce
Copy link

I may not have thought this through properly, however...
Objects in inactive scraps are hard to distinguish from objects in active scraps.
We can hide inactive scraps but often I want to see the inactive scrap objects as context for the scrap I am drawing.
Inactive scrap objects can be identified by the fact that they cannot be selected, but this is not sufficient for me where the drawing might be a little complex.
Is it possible to make the colour/rendering of inactive scraps recessive or greyed out by default?
This way we can see them and use them for context while drawing adjacent scraps, but not inadvertently think they are part of the scrap we are currently drawing.

@daem-on
Copy link
Owner

daem-on commented Sep 6, 2022

I was going to do this with transparency, but due to issues in paper (the framework I'm using) or HTML canvas itself, large amounts of half-transparent objects were extremely slow. So I gave up on this idea. We could however do recolouring like XTherion does, though I find it very visually unappealing. This would mean recolouring every object every time a scrap change happens, but that should not be a problem on reasonably sized project files - especially since you can hide the other scraps and only show three or four at a time.

@CaverBruce
Copy link
Author

My eyes are not great. I find the WTherion rendering towards the too fine and subtle end of the spectrum (but don't change it - maybe that is a configuration option one day). But I think transparency on rendered objects would be a step too far for me.
I would prefer greyed inactive objects as implemented in XTherion.
image

daem-on added a commit that referenced this issue Sep 10, 2022
@Shemesh
Copy link

Shemesh commented Sep 12, 2022

great addition! like it very much!
i suggest to make the not active color a bit more "fade" meaning the grayish color bit more toward the whites.

@CaverBruce
Copy link
Author

(deleted my last comment) Took me a while to find/notice that this new behaviour is controlled in the configuration panel.
image
I like it.

Notice the scrap panel has changed a bit - probably for the better. One oddity is that the current scrap can be made invisible.
image
Is that intended behaviour?

@daem-on
Copy link
Owner

daem-on commented Sep 13, 2022

I didn't know that this is new behaviour, I thought you could change the visibility of any scrap, regardless of it being active (?). But yes I think this is how it should work anyway.

@daem-on
Copy link
Owner

daem-on commented Sep 13, 2022

Also, yes the localisation is still missing for that config option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants