mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
chore: (scroller) colocate scroll utils with scroller buttons
This commit is contained in:
parent
76e3761ffd
commit
b282dc739a
3 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue