mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-29 05:11:19 -08:00
Make the console survive locked files and private handles, and start with Activities off
AI Assisted
This commit is contained in:
1 parent
c52244bee1
commit
2cb174ecf0
17 files changed
+160
-69
No files matched your search
@@ -101,7 +101,8 @@ function posePane(main, cls, workflow) {
|
||||
const pane = el("div", cls);
|
||||
pane.dataset.pose = pose;
|
||||
pane.appendChild(startStage(workflow));
|
||||
if (held) main.insertBefore(pane, held);
|
||||
// The old pane (another pose) is replaced, not left beside the new one.
|
||||
if (held && held.parentNode === main) held.replaceWith(pane);
|
||||
else main.appendChild(pane);
|
||||
return pane;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user