Skip to content

Commit 7394729

Browse files
committed
fix
1 parent 9cdb994 commit 7394729

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Picviewer CE+/Picviewer CE+.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5364,7 +5364,7 @@ background-color:rgba(255, 0, 0, 0.150);\
53645364
h:parseFloat(imgWindowCS.height),
53655365
w:parseFloat(imgWindowCS.width),
53665366
};
5367-
if(prefs.imgWindow.fitToScreen && !(rectSize.h/rectSize.w > 3.5 && rectSize.h > wSize.h)){
5367+
if(prefs.imgWindow.fitToScreen && !(rectSize.h/rectSize.w > 2.5 && rectSize.h > wSize.h)){
53685368
this.fitToScreen();
53695369
this.center(true,true);
53705370
}else{

0 commit comments

Comments
 (0)