From 52a4718b2f5fa6749551840ed6119d11a5d66ef1 Mon Sep 17 00:00:00 2001 From: shagu Date: Tue, 11 Jun 2019 22:16:18 +0200 Subject: [PATCH] thirdparty: add wim window shadows --- modules/thirdparty.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/thirdparty.lua b/modules/thirdparty.lua index ca01236b..bc0565dd 100644 --- a/modules/thirdparty.lua +++ b/modules/thirdparty.lua @@ -481,6 +481,7 @@ pfUI:RegisterModule("thirdparty", "vanilla", function () do -- history frame CreateBackdrop(WIM_HistoryFrame, nil, nil, .8) + CreateBackdropShadow(WIM_HistoryFrame) WIM_HistoryFrame.backdrop:SetPoint("TOPLEFT", 10, -10) WIM_HistoryFrame.backdrop:SetPoint("BOTTOMRIGHT", -10, 10) WIM_HistoryFrame:SetHitRectInsets(10,10,10,10) @@ -492,9 +493,10 @@ pfUI:RegisterModule("thirdparty", "vanilla", function () WIM_HistoryFrameMessageListScrollUp:SetPoint("TOPLEFT", WIM_HistoryFrameMessageListScrollingMessageFrame, "TOPRIGHT", 10, -6) SkinArrowButton(WIM_HistoryFrameMessageListScrollDown, 'down', 18) WIM_HistoryFrameMessageListScrollDown:SetPoint("BOTTOMLEFT", WIM_HistoryFrameMessageListScrollingMessageFrame, "BOTTOMRIGHT", 10, 0) - end + end do -- options frame CreateBackdrop(WIM_Options, nil, nil, .8) + CreateBackdropShadow(WIM_Options) WIM_Options.backdrop:SetPoint("TOPLEFT", 12, -10) WIM_Options.backdrop:SetPoint("BOTTOMRIGHT", -12, 0) WIM_Options:SetHitRectInsets(12,12,10,0) @@ -644,6 +646,7 @@ pfUI:RegisterModule("thirdparty", "vanilla", function () local windowname = this:GetName() CreateBackdrop(this, nil, nil, .8) + CreateBackdropShadow(this) local from = _G[windowname.."From"] from:ClearAllPoints() from:SetPoint("TOP", 0, -10)