Add fit page to window reader setting (#323)
* Add fit page to window reader setting * Renamed option and conditional rendering * Rename translation key
This commit is contained in:
@@ -30,6 +30,7 @@ function imageStyle(settings: IReaderSettings): any {
|
||||
};
|
||||
}, []);
|
||||
if (
|
||||
settings.fitPageToWindow ||
|
||||
settings.readerType === 'DoubleLTR' ||
|
||||
settings.readerType === 'DoubleRTL' ||
|
||||
settings.readerType === 'ContinuesHorizontalLTR' ||
|
||||
|
||||
Reference in New Issue
Block a user