From 330def20b41818baf217f4790ae7518e664aba59 Mon Sep 17 00:00:00 2001 From: shagu Date: Sat, 21 Mar 2020 12:15:45 +0100 Subject: [PATCH] thirdparty: adjust recount size in dualpane mode --- modules/thirdparty-tbc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/thirdparty-tbc.lua b/modules/thirdparty-tbc.lua index 7fa8a79f..0c40f02c 100644 --- a/modules/thirdparty-tbc.lua +++ b/modules/thirdparty-tbc.lua @@ -13,7 +13,7 @@ pfUI:RegisterModule("thirdparty-tbc", "tbc", function () end, function() -- dual Recount.MainWindow:ClearAllPoints() - Recount.MainWindow:SetPoint("TOPLEFT", pfUI.chat.right, "TOP", 0, 10) + Recount.MainWindow:SetPoint("TOPLEFT", pfUI.chat.right, "TOP", default_border, 10) Recount.MainWindow:SetPoint("BOTTOMRIGHT", pfUI.chat.right, "BOTTOMRIGHT", 0, 18) Recount.MainWindow:SetWidth(pfUI.chat.right:GetWidth() / 2) end, @@ -54,7 +54,7 @@ pfUI:RegisterModule("thirdparty-tbc", "tbc", function () Recount.MainWindow.DragBottomRight:SetNormalTexture(nil) -- backdrop adjustments - Recount.MainWindow.backdrop:SetPoint("TOPLEFT", -default_border, -5-default_border) + Recount.MainWindow.backdrop:SetPoint("TOPLEFT", -default_border, -5-default_border-GetPerfectPixel()) if C.thirdparty.chatbg == "1" and C.chat.global.custombg == "1" then local r, g, b, a = strsplit(",", C.chat.global.background) Recount.MainWindow.backdrop:SetBackdropColor(tonumber(r), tonumber(g), tonumber(b), tonumber(a))