File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -609,13 +609,13 @@ export default class $util {
609609 }
610610 }
611611
612- static thumbSize ( pixelsWidth , pixelsHeight ) {
612+ static thumbSize ( viewportWidth , viewportHeight ) {
613613 const thumbs = $config . values . thumbs ;
614614
615615 for ( let i = 0 ; i < thumbs . length ; i ++ ) {
616616 let t = thumbs [ i ] ;
617617
618- if ( t . w >= pixelsWidth && t . h >= pixelsHeight ) {
618+ if ( t . w >= viewportWidth || t . h >= viewportHeight ) {
619619 return t . size ;
620620 }
621621 }
Original file line number Diff line number Diff line change @@ -1981,7 +1981,7 @@ export default {
19811981 }
19821982
19831983 // Do not proceed unless the image is zoomed to near its intrinsic (natural) size.
1984- if (zoomLevel < 0.9 ) {
1984+ if (zoomLevel < 0.95 ) {
19851985 return ;
19861986 }
19871987
You can’t perform that action at this time.
0 commit comments