From 0c0ab2fc9b05e7b7d7299123c869e71592dc0c4b Mon Sep 17 00:00:00 2001 From: Jose Luis Date: Sat, 21 Mar 2026 00:44:09 +0100 Subject: [PATCH] fix: rebuild props panel when interaction type changes Without this, switching type to 'module' didn't show the moduleId, ports, and Open IDE button until manually reselecting the entity. Co-Authored-By: Claude Opus 4.6 --- editor.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor.html b/editor.html index c0c757e..025ae9f 100644 --- a/editor.html +++ b/editor.html @@ -1218,6 +1218,8 @@ function applyPropChange(prop, value, inputType) { updateEntityList(); render(); + // Rebuild props panel when type changes (shows/hides type-specific fields) + if (prop === 'type') updateProps(); } // ==================== Export ====================