From f6e9bcb62ade31770c339683d964907d4ce86632 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Wed, 23 Sep 2020 07:54:14 +0200 Subject: [PATCH] Update 0BDFDB.plugin.js --- Library/0BDFDB.plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/0BDFDB.plugin.js b/Library/0BDFDB.plugin.js index 051d513d96..fef18f0729 100644 --- a/Library/0BDFDB.plugin.js +++ b/Library/0BDFDB.plugin.js @@ -1324,7 +1324,7 @@ module.exports = (_ => { else if (type == "left" || type == "right") { if (top < 0) { const bRects = BDFDB.DOMUtils.getRects(document.querySelector(BDFDB.dotCN.titlebar)); - const barCorrection = (bRects.width || 0) >= Math.round(75 * window.outerWidth / aRects.width) ? bRects.height : 0; + const barCorrection = (bRects.width || 0) >= Math.round(75 * window.outerWidth / aRects.width) ? (bRects.height + 5) : 0; itemLayer.style.setProperty("top", `${5 + barCorrection}px`, "important"); tooltipPointer.style.setProperty("margin-top", `${top - 10 - barCorrection}px`, "important"); }