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

Function animate

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

Source from the content-addressed store, hash-verified

397 return animate();
398
399 function animate() {
400 const scroll = getScroll();
401 if (!scroll) return;
402 prevScrollLeft = $parent.scrollLeft += scroll;
403 animationFrame = requestAnimationFrame(animate);
404 }
405}
406
407/**

Callers 1

scrollContainerFunction · 0.70

Calls 1

getScrollFunction · 0.85

Tested by

no test coverage detected