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

I need to check if group is hidden. Layer has a isHidden proeprty, but group does not. #72

Open
daybrush opened this issue Dec 17, 2022 · 1 comment

Comments

@daybrush
Copy link

daybrush commented Dec 17, 2022

I need to check if group is hidden.

Layer has a hidden attribute, but group does not.

// Layer
  get isHidden(): boolean {
    return this.layerFrame.layerProperties.hidden;
  }
//  I want in Group
  get isHidden(): boolean {
    return this.layerFrame?.layerProperties.hidden ?? true;
  }

image

@daybrush daybrush changed the title Is there any plan to provide isHidden value publicly in Group? I need to check if group is hidden. Layer has a isHidden proeprty, but group does not. Dec 17, 2022
@pastelmind
Copy link
Collaborator

Sorry about the delayed response. Right now, our hands (me and @dlehdanakf) are tied up with other work, though I may have some free time to look into this next month.

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

2 participants