Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Toggle layer visibility with a keyboard shortcut #53

Closed
bednarikjan opened this issue Jan 3, 2023 · 2 comments · Fixed by #54
Closed

Toggle layer visibility with a keyboard shortcut #53

bednarikjan opened this issue Jan 3, 2023 · 2 comments · Fixed by #54
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@bednarikjan
Copy link

Having the ability to turn on/off the visibility of a given layer within a canvas is extremely useful. However, one has to click the checkbox with a mouse pointer, which gets a bit tedious especially when one wants to repeatedly toggle the visibility of a layer (e.g. to visually compare it to the layer below). It would be very convenient to have keyboard shortcuts support for this action, e.g. CMD/CTRL + <layer_id>.

@matajoh matajoh self-assigned this Jan 10, 2023
@matajoh matajoh added the enhancement New feature or request label Jan 10, 2023
@matajoh matajoh added this to the 1.1.0 milestone Jan 10, 2023
@matajoh
Copy link
Member

matajoh commented Jan 10, 2023

Great suggestion!

@bednarikjan
Copy link
Author

Thank you for adding this feature, it's incredibly useful!

I noticed that if a page has multiple canvases, the shortcut toggles the given layer across all the canvases simultaneously. Would it be possible to modify the behaviour so that the visibility is toggled only within a single "in focus" canvas?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants