MCPcopy Create free account
hub / github.com/dailydotdev/apps / styleMoving

Function styleMoving

packages/shared/src/components/shell/ReadingDrawer.tsx:427–431  ·  view source on GitHub ↗
(props: MovingStyle)

Source from the content-addressed store, hash-verified

425 });
426 pageChanges.observe(page, { childList: true, subtree: true });
427 const styleMoving = (props: MovingStyle) => {
428 echoes.splice(0).forEach((echo) => echo.cancel());
429 Object.assign(shown, props);
430 moving.forEach((element) => applyStyle(element, props));
431 };
432 const base = () => (layout === 'full' ? current.full : current.card);
433 // The rubber band at the page's top is not the drawer coming down.
434 const restingY = () =>

Callers 5

clearMovingFunction · 0.85
presentFunction · 0.85
ReadingDrawerFunction · 0.85
glideToFunction · 0.85
onTouchMoveFunction · 0.85

Calls 1

applyStyleFunction · 0.85

Tested by

no test coverage detected