Rename "getImageWidthStyling" to "getReaderImageStyling"

This commit is contained in:
schroda
2025-01-18 23:13:56 +01:00
parent 7f649296b9
commit b7cb245abc
3 changed files with 5 additions and 5 deletions

View File

@@ -18,7 +18,7 @@ import {
import {
getImageMarginStyling,
getImagePlaceholderStyling,
getImageWidthStyling,
getReaderImageStyling,
} from '@/modules/reader/utils/ReaderPager.utils.tsx';
import { applyStyles } from '@/modules/core/utils/ApplyStyles.ts';
import { useReaderScrollbarContext } from '@/modules/reader/contexts/ReaderScrollbarContext.tsx';
@@ -129,7 +129,7 @@ const BaseReaderPage = ({
...getImageMarginStyling(doublePage, position),
}}
imgStyle={{
...getImageWidthStyling(readingMode, shouldStretchPage, pageScaleMode, doublePage, readerWidth, true),
...getReaderImageStyling(readingMode, shouldStretchPage, pageScaleMode, doublePage, readerWidth, true),
display: 'block',
...applyStyles(!display, {
display: 'none',