(name: string)
| 168 | } |
| 169 | |
| 170 | #setSelected(name: string) { |
| 171 | const index = this.editor.getItems().indexOf(name); |
| 172 | if (index == -1) |
| 173 | return; |
| 174 | this.editor.selectItemAt(index); |
| 175 | this.affects.forEach(p => p.update()); |
| 176 | } |
| 177 | |
| 178 | #updateDescription() { |
| 179 | const value = this.getValue(); |