Commit 3c84bb9
fix: restore custom node labels and state when loading scripts
protoToNodes() only restored the generic data map from proto but dropped
top-level fields (label, muted, collapsed, containedNodes, parentFrameId,
resolvedType) that nodesToProto() extracts separately. This caused custom
names, mute/collapse state, and frame membership to be wiped on save/load.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 5b6e784 commit 3c84bb9
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
291 | 299 | | |
292 | 300 | | |
293 | 301 | | |
| |||
0 commit comments