chore: (scroller) colocate scroll utils with scroller buttons

This commit is contained in:
Grady Hallenbeck 2023-10-16 20:40:57 -07:00
parent 76e3761ffd
commit b282dc739a
3 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ import scrollerFactory from '../../libraries/scroller';
import globalize from '../../scripts/globalize';
import IconButton from '../emby-button/IconButton';
import './emby-scrollbuttons.scss';
import { ScrollDirection, scrollerItemSlideIntoView } from '../../utils/scroller';
import { ScrollDirection, scrollerItemSlideIntoView } from './utils';
interface ScrollButtonsProps {
scrollerFactoryRef: React.MutableRefObject<scrollerFactory | null>;

View File

@ -2,7 +2,7 @@ import './emby-scrollbuttons.scss';
import 'webcomponents.js/webcomponents-lite';
import '../emby-button/paper-icon-button-light';
import globalize from '../../scripts/globalize';
import { scrollerItemSlideIntoView } from '../../utils/scroller';
import { scrollerItemSlideIntoView } from './utils';
const EmbyScrollButtonsPrototype = Object.create(HTMLDivElement.prototype);