local E, L, V, P, G, _ = unpack(ElvUI);
local addon = E:GetModule("AddOnSkins");
if(not addon:CheckAddOn("BNetToast")) then return; end
function addon:BNetToast()
local S = E:GetModule("Skins");
BNToastFrameCloseButton:SetWidth(32);
BNToastFrameCloseButton:SetHeight(32);
BNToastFrameCloseButton:SetPoint("TOPRIGHT","BNToastFrame", 4, 3);
S:HandleCloseButton(BNToastFrameCloseButton);
end
https://github.com/Bunny67/BNetToast https://github.com/crumdidlyumshis/BNetToast https://github.com/Kkthnx/BNetToast
local E, L, V, P, G, _ = unpack(ElvUI); local addon = E:GetModule("AddOnSkins");
if(not addon:CheckAddOn("BNetToast")) then return; end
function addon:BNetToast() local S = E:GetModule("Skins"); BNToastFrameCloseButton:SetWidth(32); BNToastFrameCloseButton:SetHeight(32); BNToastFrameCloseButton:SetPoint("TOPRIGHT","BNToastFrame", 4, 3); S:HandleCloseButton(BNToastFrameCloseButton); end
addon:RegisterSkin("BNetToast", addon.BNetToast);