Commit a9ba279
committed
Fix layer removal logic for group-linked parent layers
Updates the logic to prevent removal of layers if the parent
layer is a group type. This ensures that linked group layers
cannot be removed, addressing an inconsistency in the previous
implementation.
Refines error handling and maintains proper layer hierarchy.1 parent af7d9c3 commit a9ba279
1 file changed
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
168 | 166 | | |
169 | 167 | | |
170 | 168 | | |
| |||
0 commit comments