1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Some cleaning and usage of getIsElementRTL

This commit is contained in:
Hadi Charara 2022-07-05 20:06:04 -04:00
parent 8488f48f99
commit 99a67bee64
3 changed files with 10 additions and 10 deletions

View file

@ -9,7 +9,7 @@ import dom from '../scripts/dom';
import focusManager from '../components/focusManager';
import ResizeObserver from 'resize-observer-polyfill';
import '../assets/css/scrollstyles.scss';
import { getIsRTL } from '../scripts/globalize';
import globalize from '../scripts/globalize';
/**
* Return type of the value.
@ -269,7 +269,7 @@ const scrollerFactory = function (frame, options) {
newPos = within(newPos, pos.start, pos.end);
}
if (getIsRTL())
if (globalize.getIsRTL())
newPos *= -1;
if (!transform) {