fix: drag-to-split — drop zone sur .content-wrapper en mode single-pane
CI / lint (push) Failing after 9s
CI / test (push) Has been skipped
CI / build (push) Has been skipped
CI / e2e (push) Has been skipped
CI / security (push) Successful in 14s
Desktop Build / build-windows (push) Has been cancelled
Desktop Build / build-linux (push) Has been cancelled

Cause: _setupPaneDropZone était uniquement appelé sur .pane-container (créé par split).
En mode single-pane, le DOM est .content-wrapper > .tab-bar + .content-area sans wrapper.
→ Ajout de _setupPaneDropZone sur .content-wrapper dans PaneManager.init()
→ CSS: position:relative sur .content-wrapper pour les indicateurs absolute

Changements:
- pane-manager.js: init() ajoute drop zone sur .content-wrapper (single-pane)
- style.css: position:relative sur .content-wrapper
This commit is contained in:
2026-07-27 22:50:46 -04:00
parent 8aaf19479f
commit d7b0998af8
2 changed files with 8 additions and 0 deletions
+7
View File
@@ -481,6 +481,13 @@ const PaneManager = {
this.tabManagers[0] = createPaneTabManager(0);
this.tabManagers[0].init();
// Setup drop zone on content-wrapper for single-pane drag-to-split
const wrapper = document.querySelector('.content-wrapper');
if (wrapper && !wrapper.dataset.dropZoneSetup) {
wrapper.dataset.dropZoneSetup = '1';
this._setupPaneDropZone(wrapper, 0);
}
const saved = localStorage.getItem('obsigate-panes');
if (saved) {
try {
+1
View File
@@ -1245,6 +1245,7 @@ select {
flex-direction: column;
min-width: 0;
overflow: hidden;
position: relative;
}
/* --- Multi-Pane Grid (Split View #75) --- */