Enhanced Flight Map

Enhanced Flight Map

67.5k Downloads

Config screen broken in TBC classic

beren12 opened this issue ยท 3 comments

commented

and I think the prepatch as well.

Is there any chance you are coming back for a bit for TBC? I finally got a beta invite and am recording (a bit laggy) flight times right now. Everyone has access to the prepatch so you can see the breakage there I believe

commented
Message: Interface\AddOns\EnhancedFlightMap\ConfigScreen.lua:76: attempt to call method 'SetBackdrop' (a nil value)
Time: Thu May 13 16:20:04 2021
Count: 1
Stack: Interface\AddOns\EnhancedFlightMap\ConfigScreen.lua:76: attempt to call method 'SetBackdrop' (a nil value)
[string "@Interface\AddOns\EnhancedFlightMap\ConfigScreen.lua"]:76: in function `EnhancedFlightMap_RegConfig'
[string "@Interface\AddOns\EnhancedFlightMap\EnhancedFlightMap.lua"]:56: in function `EnhancedFlightMap_OnEvent'
[string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1>

Locals: EFM_GUI = EFM_GUI {
 0 = <userdata>
 cancel = <function> defined @Interface\FrameXML\InterfaceOptionsFrame.lua:619
 name = "Enhanced Flight Map"
 refresh = <function> defined @Interface\FrameXML\InterfaceOptionsFrame.lua:621
 okay = <function> defined @Interface\FrameXML\InterfaceOptionsFrame.lua:618
 default = <function> defined @Interface\FrameXML\InterfaceOptionsFrame.lua:620
}
EFM_GUI_Header = <unnamed> {
 0 = <userdata>
}
EFM_GUI_Version = <unnamed> {
 0 = <userdata>
}
EFM_GUI_OPTIONS = EFM_GUI_OPTIONS {
 ScrollBar = EFM_GUI_OPTIONSScrollBar {
 }
 offset = 0
 0 = <userdata>
}
EFM_GUI_OPTIONS_SC = TestScrollChild {
 0 = <userdata>
}
EFM_GUI_Timer_Options = EFM_GUI_Timer_Options {
 0 = <userdata>
}
(*temporary) = nil
(*temporary) = EFM_GUI_Timer_Options {
 0 = <userdata>
}
(*temporary) = <table> {
 bgFile = "Interface/Tooltips/UI-Tooltip-Background"
 tileSize = 16
 edgeFile = "Interface/Tooltips/UI-Tooltip-Border"
 tile = true
 edgeSize = 16
 insets = <table> {
 }
}
(*temporary) = "attempt to call method 'SetBackdrop' (a nil value)"

commented

Fixed with initing like local EFM_MapWindowNew = CreateFrame("FRAME", "EFM_MapWindowNew", UIParent, BackdropTemplateMixin and "BackdropTemplate");

commented