mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-16 10:28:18 -07:00
chore: (scroller) colocate scroll utils with scroller buttons
This commit is contained in:
parent
76e3761ffd
commit
b282dc739a
@ -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>;
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user