4 lines
92 B
JavaScript
4 lines
92 B
JavaScript
|
export function doubleRAF (fn) {
|
||
|
requestAnimationFrame(() => requestAnimationFrame(fn))
|
||
|
}
|