( diff: Diff, stylePool: StylePool, currentId: number, targetId: number, )
| 996 | } |
| 997 | |
| 998 | function 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 | |
| 1011 | function fullViewportRepaintFromHome( |
| 1012 | frame: Frame, |
no test coverage detected