From b68857dfc5cca51ac1a37c71690c6eea2aae0ba0 Mon Sep 17 00:00:00 2001 From: shagu Date: Wed, 5 Dec 2018 18:28:20 +0100 Subject: [PATCH] skin: clamp compare tooltips to screen --- modules/skin.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/skin.lua b/modules/skin.lua index bbd017ae..0470f958 100644 --- a/modules/skin.lua +++ b/modules/skin.lua @@ -130,6 +130,7 @@ pfUI:RegisterModule("skin", function () CreateBackdrop(ShoppingTooltip2, nil, nil, alpha) CreateBackdrop(ItemRefTooltip, nil, nil, alpha) + ShoppingTooltip1:SetClampedToScreen(true) ShoppingTooltip1:SetScript("OnShow", function() local a, b, c, d, e = this:GetPoint() local border = tonumber(C.appearance.border.default) @@ -137,6 +138,7 @@ pfUI:RegisterModule("skin", function () if a then this:SetPoint(a, b, c, d, e) end end) + ShoppingTooltip2:SetClampedToScreen(true) ShoppingTooltip2:SetScript("OnShow", function() local a, b, c, d, e = this:GetPoint() local border = tonumber(C.appearance.border.default)