psd icon indicating copy to clipboard operation
psd copied to clipboard

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

Open daybrush opened this issue 3 years ago • 1 comments

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 avatar Dec 17 '22 05:12 daybrush

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.

pastelmind avatar Dec 27 '22 00:12 pastelmind