mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 18:36:01 +00:00
thirdparty: add flightmap integration
This commit is contained in:
committed by
Shagu
parent
92de8e5ea4
commit
ecbccbaeda
@@ -802,4 +802,19 @@ pfUI:RegisterModule("thirdparty", function ()
|
||||
end)
|
||||
end
|
||||
end
|
||||
|
||||
do -- FlightMap Integration
|
||||
if C.thirdparty.flightmap.enable == "0" then return end
|
||||
if not FlightMapTimesFrame and not FlightMapTimesFrame and not FlightMapTimesText then return end
|
||||
|
||||
FlightMapTimesBorder:Hide()
|
||||
|
||||
FlightMapTimesFrame:SetStatusBarTexture("Interface\\AddOns\\pfUI\\img\\bar")
|
||||
FlightMapTimesFrame:SetHeight(18)
|
||||
CreateBackdrop(FlightMapTimesFrame)
|
||||
|
||||
FlightMapTimesText:ClearAllPoints()
|
||||
FlightMapTimesText:SetPoint("CENTER", FlightMapTimesFrame, "CENTER", 0, 0)
|
||||
FlightMapTimesText:SetFont(pfUI.font_default, 12, "OUTLINE")
|
||||
end
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user