webtoon / psd

Fast zero-dependency PSD parser for the web and Node.js

Home Page:https://webtoon.github.io/psd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

daybrush opened this issue · 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

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.