MCPcopy Index your code
hub / github.com/stemdeckapp/stemdeck / base

Function base

static/mobile/app.js:695–695  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

693 const id = row.dataset.id;
694 let x0 = 0, y0 = 0, active = false, horizontal = false;
695 const base = () => (state.swipedTrackId === id ? -84 : 0);
696
697 row.addEventListener("pointerdown", (e) => {
698 x0 = e.clientX; y0 = e.clientY; active = true; horizontal = false;

Callers 1

wireSwipeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected