mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
20 lines
573 B
Lua
20 lines
573 B
Lua
local E, L, V, P, G = unpack(ElvUI); --Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
|
|
local S = E:GetModule("Skins");
|
|
|
|
local function LoadSkin()
|
|
if E.private.skins.blizzard.enable ~= true or E.private.skins.blizzard.taxi ~= true then return end
|
|
|
|
E:CreateBackdrop(TaxiFrame, "Transparent")
|
|
E:Point(TaxiFrame.backdrop, "TOPLEFT", 11, -12)
|
|
E:Point(TaxiFrame.backdrop, "BOTTOMRIGHT", -34, 75)
|
|
|
|
E:StripTextures(TaxiFrame)
|
|
|
|
E:Kill(TaxiPortrait)
|
|
|
|
S:HandleCloseButton(TaxiCloseButton)
|
|
|
|
E:CreateBackdrop(TaxiRouteMap, "Default")
|
|
end
|
|
|
|
S:AddCallback("Taxi", LoadSkin) |