MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / restoreInitialTabPosition

Function restoreInitialTabPosition

src/handlers/editorFileTab.js:304–308  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

302}
303
304function restoreInitialTabPosition() {
305 reorderTab(
306 initialNextSibling?.parentElement === $parent ? initialNextSibling : null,
307 );
308}
309
310function reorderTab($insertBefore) {
311 const previousRects = captureVisualPositions($parent);

Callers 1

releaseDragFunction · 0.85

Calls 1

reorderTabFunction · 0.85

Tested by

no test coverage detected