mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 15:57:25 +00:00
limitImageWidth
should only be enabled with ReaderMode.continuousTopToBottom
This commit is contained in:
@@ -473,7 +473,9 @@ class _ContinuousModeState extends State<_ContinuousMode>
|
|||||||
);
|
);
|
||||||
var width = MediaQuery.of(context).size.width;
|
var width = MediaQuery.of(context).size.width;
|
||||||
var height = MediaQuery.of(context).size.height;
|
var height = MediaQuery.of(context).size.height;
|
||||||
if(appdata.settings['limitImageWidth'] && width / height > 0.7) {
|
if (appdata.settings['limitImageWidth'] &&
|
||||||
|
width / height > 0.7 &&
|
||||||
|
reader.mode == ReaderMode.continuousTopToBottom) {
|
||||||
width = height * 0.7;
|
width = height * 0.7;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user