Skip to content

Commit cb36c5a

Browse files
committed
Update Picviewer CE+.user.js
1 parent 601a60c commit cb36c5a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Picviewer CE+/Picviewer CE+.user.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
// @grant GM.notification
4747
// @grant unsafeWindow
4848
// @require https://update.greasyfork.org/scripts/6158/23710/GM_config%20CN.js
49-
// @require https://update.greasyfork.org/scripts/438080/1633507/pvcep_rules.js
49+
// @require https://update.greasyfork.org/scripts/438080/1633680/pvcep_rules.js
5050
// @require https://update.greasyfork.org/scripts/440698/1427239/pvcep_lang.js
5151
// @downloadURL https://greasyfork.org/scripts/24204-picviewer-ce/code/Picviewer%20CE+.user.js
5252
// @updateURL https://greasyfork.org/scripts/24204-picviewer-ce/code/Picviewer%20CE+.meta.js
@@ -13074,10 +13074,10 @@ ImgOps | https://imgops.com/#b#`;
1307413074
var rect=target.getBoundingClientRect();
1307513075
var compStyle=unsafeWindow.getComputedStyle(target);
1307613076
var pFloat=parseFloat;
13077-
var top=rect.top + pFloat(compStyle.paddingTop) + pFloat(compStyle.borderTopWidth);
13078-
var right=rect.right - pFloat(compStyle.paddingRight) - pFloat(compStyle.borderRightWidth);
13079-
var bottom=rect.bottom - pFloat(compStyle.paddingBottom) - pFloat(compStyle.borderBottomWidth);
13080-
var left=rect.left + pFloat(compStyle.paddingLeft) + pFloat(compStyle.borderLeftWidth);
13077+
var top=rect.top + pFloat(compStyle.borderTopWidth);
13078+
var right=rect.right - pFloat(compStyle.borderRightWidth);
13079+
var bottom=rect.bottom - pFloat(compStyle.borderBottomWidth);
13080+
var left=rect.left + pFloat(compStyle.borderLeftWidth);
1308113081
return {
1308213082
top:top,
1308313083
right:right,

0 commit comments

Comments
 (0)