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

Allow to make a layer exclusively visible by pressing ctrl when changing visibility #4061

Merged
merged 5 commits into from
May 8, 2019

Conversation

philippotto
Copy link
Member

@philippotto philippotto commented May 2, 2019

URL of deployed dev instance (used for testing):

Steps to test:

  • open a dataset with multiple colors layers
  • click the visibility switch while holding ctrl
  • the layer should be the only visibile layer
  • selecting another layer with ctrl should make that layer the only visible one
  • using ctrl on the currently exclusively visible layer should make all layers visible again

the toggling behavior is the same as in GIMP (and I think other major image editors)

Issues:


@philippotto philippotto self-assigned this May 2, 2019
Copy link
Member

@daniel-wer daniel-wer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works very nicely, code looks good too :)

If you find a good spot, it would be cool to document this behavior in the docs (as a pro-tip, or did-you-know or so)!

@philippotto philippotto merged commit 89fcb5b into master May 8, 2019
@philippotto philippotto deleted the ctrl-visibility-toggle branch May 8, 2019 13:00
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

Successfully merging this pull request may close these issues.

Make it easy to exclusively render one data layer
2 participants