diff --git a/src/utils/page.js b/src/utils/page.js index cd0c103..f66051f 100644 --- a/src/utils/page.js +++ b/src/utils/page.js @@ -2,15 +2,6 @@ import { getValueInRange, } from './math' -export function applyParticleSizes({ - particlesContainerChildren, - particleWidth, -}) { - for (let particleIndex=0; particleIndex { onResize({ diff --git a/src/utils/page.test.js b/src/utils/page.test.js index 88ca38b..a6cce2d 100644 --- a/src/utils/page.test.js +++ b/src/utils/page.test.js @@ -1,10 +1,12 @@ import { getPartialPageSize, - _getCurrentPageIndexByCurrentParticleIndexInfinite - // getCurrentPageIndex, - // getPagesCountByParticlesCount, - // getParticleIndexByPageIndexInfinite, - // getParticleIndexByPageIndexLimited, + getPartialPageSize, + _getCurrentPageIndexByCurrentParticleIndexInfinite, + _getCurrentPageIndexByCurrentParticleIndexLimited, + _getPagesCountByParticlesCountInfinite, + _getPagesCountByParticlesCountLimited, + _getParticleIndexByPageIndexInfinite, + _getParticleIndexByPageIndexLimited, } from './page.js' describe('getPartialPageSize', () => {