corrigindo scroll após movimentações e edições das patterns na playlist
This commit is contained in:
1 parent
064002b1ba
commit
5a366fa29d
1 file changed
-8
@@ -431,12 +431,6 @@ export function renderAudioEditor() {
|
|||||||
menu.style.top = `${e.clientY}px`;
|
menu.style.top = `${e.clientY}px`;
|
||||||
});
|
});
|
||||||
|
|
||||||
// Recriação Container Pistas
|
|
||||||
const newTrackContainer = existingTrackContainer.cloneNode(false);
|
|
||||||
tracksParent.replaceChild(newTrackContainer, existingTrackContainer);
|
|
||||||
// ✅ único scroller horizontal/vertical do editor
|
|
||||||
const scrollEl = newTrackContainer; // #audio-track-container
|
|
||||||
|
|
||||||
// === RENDERIZAÇÃO DAS PISTAS (LANES) ===
|
// === RENDERIZAÇÃO DAS PISTAS (LANES) ===
|
||||||
|
|
||||||
// CORREÇÃO: Junta as pistas de áudio com as Basslines (que estão no Pattern State)
|
// CORREÇÃO: Junta as pistas de áudio com as Basslines (que estão no Pattern State)
|
||||||
@@ -1394,8 +1388,6 @@ export function renderAudioEditor() {
|
|||||||
} catch {}
|
} catch {}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
export function updateAudioEditorUI() {
|
export function updateAudioEditorUI() {
|
||||||
const playBtn = document.getElementById("audio-editor-play-btn");
|
const playBtn = document.getElementById("audio-editor-play-btn");
|
||||||
if (!playBtn) return;
|
if (!playBtn) return;
|
||||||
|
|||||||
Reference in new issue
Block a user