MCPcopy Create free account
hub / github.com/Noumena-Network/code / transitionStyle

Function transitionStyle

src/ink/log-update.ts:998–1009  ·  view source on GitHub ↗
(
  diff: Diff,
  stylePool: StylePool,
  currentId: number,
  targetId: number,
)

Source from the content-addressed store, hash-verified

996}
997
998function transitionStyle(
999 diff: Diff,
1000 stylePool: StylePool,
1001 currentId: number,
1002 targetId: number,
1003): number {
1004 const str = stylePool.transition(currentId, targetId)
1005 if (str.length > 0) {
1006 diff.push({ type: 'styleStr', str })
1007 }
1008 return targetId
1009}
1010
1011function fullViewportRepaintFromHome(
1012 frame: Frame,

Callers 2

renderMethod · 0.85
renderFrameSliceFunction · 0.85

Calls 1

transitionMethod · 0.80

Tested by

no test coverage detected