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

Function preventDefaultScroll

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

Source from the content-addressed store, hash-verified

272}
273
274function preventDefaultScroll() {
275 this.scrollLeft = prevScrollLeft;
276}
277
278function updateDragPreview(clientX, clientY) {
279 const $target = document.elementFromPoint(clientX, clientY);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected