funkydude / BasicMinimap

BasicMinimap is a basic solution to a clean, square minimap for World of Warcraft.
17 stars 10 forks source link

Open Tracking Dropdown Lua Error #97

Closed Zaazu closed 3 months ago

Zaazu commented 3 months ago

Describe the problem

When right clicking the minimap to open the Tracking menu, nothing happens and instead shows a lua error

What steps will reproduce the problem?

  1. Set Open Tracking to Right Mouse Button
  2. Right Click Minimap

Consider attaching a screenshot below to help describe your issue (Attach directly, do not link to other websites)

What version of the addon are you using? (Stating 'latest' is not useful)

Interface: 100207, 110000, 110002 Version: v10.2.9

Do you have an error log of what happened?

32x ...ddOns/Blizzard_SharedXML/Mainline/UIDropDownMenu.lua:1065: attempt to index local 'button' (a nil value)
[string "@Blizzard_SharedXML/Mainline/UIDropDownMenu.lua"]:1065: in function `ToggleDropDownMenu'
[string "@BasicMinimap/BasicMinimap.lua"]:851: in function <BasicMinimap/BasicMinimap.lua:847>

Locals:
level = 1
value = nil
dropDownFrame = nil
anchorName = Minimap {
 ZoomOut = Button {
 }
 ZoomIn = Button {
 }
 timer = 0
 ZoomHitArea = Frame {
 }
}
xOffset = nil
yOffset = nil
menuList = nil
button = nil
autoHideDelay = nil
overrideDisplayMode = nil
listFrameName = "DropDownList1"
listFrame = DropDownList1 {
 dropdown = WPDemoContextMenu {
 }
 shouldRefresh = true
 numButtons = 5
 Border = DropDownList1Backdrop {
 }
 maxWidth = 170.666672
}
tempFrame = nil
point = nil
relativePoint = nil
relativeTo = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = 1
(*temporary) = 0
(*temporary) = 5
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index local 'button' (a nil value)"
UIDropDownMenuDelegate = Frame {
}
envTable = <table> {
 ERR_OUT_OF_CHI = "Not enough chi"
 DH_HAVOC_CORE_ABILITY_2 = "Strong melee attack that consumes Fury. If it critical strikes, some Fury is refunded."
 MultiCastActionButton6Cooldown = MultiCastActionButton6Cooldown {
 }
 MerchantItem9ItemButtonStock = MerchantItem9ItemButtonStock {
 }
 UNIT_NAMES_COMBATLOG_TOOLTIP = "Color unit names."
 AchievementFrameStatsBG = AchievementFrameStatsBG {
 }
 HUD_EDIT_MODE_SETTING_ACTION_BAR_HIDE_BAR_ART = "Hide Bar Art"
 LE_GAME_ERR_CHAT_RAID_RESTRICTED_TRIAL = 783
 MultiBarLeftActionButton10NormalTexture = MultiBarLeftActionButton10NormalTexture {
 }
 SPELL_FAILED_CUSTOM_ERROR_71 = "This partygoer wants to dance with you."
 LE_GAME_ERR_PET_SPELL_TARGETS_DEAD = 421
 ERROR_CLUB_TICKET_COUNT_AT_MAX_COMMUNITY = "Can't create any more invite links for this community."
 RecruitAFriendFrame = RecruitAFriendFrame {
 }
 MultiBar7ActionButton5Icon = MultiBar7ActionButton5Icon {
 }
 TutorialFrameLeft19 = TutorialFrameLeft19 {
 }
 MultiCastActionButton2Cooldown = MultiCastActionButton2Cooldown {
 }
 ERR_TRADE_EQUIPPED_BAG = "You can't trade equipped bags."
 PVP_RANK_6_1 = "Corporal"
 MultiBarLeftButton7 = MultiBarLeftButton7 {
 }
 OPTION_TOOLTIP_SHOW_MULTIBAR4 = "Attached to the left side of Right Action Bar 1 by default"
 LE_GAME_ERR_INVALID_FOLLOW_PVP_COMBAT = 375
 MerchantItem3AltCurrencyFrameItem1Text = MerchantItem3AltCurrencyFrameItem1Text {
 }
 PROFESSIONS_COLUMN_REAGENTS_NONE = "None"
 OPTION_TOOLTIP_ACTION_BUTTON_USE_KEY_DOWN = "Action button keybinds will respond on key down, rather than on key up."
 BINDING_NAME_NAMEPLATES = "Show Enemy Nameplates"
 CHAT_HEADER_SUFFIX = ": "
 COVENANT_MISSIONS_HEALTH = "Health"
 MAIL_LETTER_TOOLTIP = "Click to make a permanent
copy of this letter."
 PVPReadyDialogBottomArt = PVPReadyDialogBottomArt {
 }
 MultiBar6Button4Flash = MultiBar6Button4Flash {
 }
 ERR_NOAMMO_S = "%s"
 DominosActionButton112Flash = DominosActionButton112Flash {
 }
 CHAT_CONFIG_OTHER_COMBAT = <table> {
 }
 ClassNameplateBarPaladinFrameRune5 = ClassNameplateBarPaladinFrameRune5 {
 }
 TutorialFrameRight19 = TutorialFrameRight19 {
 }
 BOOST2_WARRIOR_COLOSSUSSMASH = "Use |cFFFFFFFFColossus Smash|r.

|cFFFFFFFFColossus Smash|r increases your damage."
 BN_UNABLE_TO_RESOLVE_NAME = "Unable to whisper '%s'. Blizzard services may be unavailable."
 CinematicFrameRaidBossEmoteFrame = CinematicFrameRaidBossEmoteFrame {
 }
 LE_GAME_ERR_ONLY_ONE_QUIVER = 36
 INT_SPELL_DURATION_HOURS = "%d |4hour:hrs;"
 BtWQuestsSearchResultFullMixin = <table> {
 }
 LOSS_OF_CONTROL_DISPLAY_FEAR = "Feared"
 POWERBAR_PREDICTION_COLOR_MAELSTROM_CODE = "|cff003366"
 AUCTIONATOR_L_CONFIG_ALTERNATE_SCAN = "Use alternate slower scan mode by default"
 BankFrameItem17SearchOverlay = BankFrameItem17SearchOverlay {
 }
 AUCTIONATOR_L_DEFAULT_LIST_HEADER = "Default Shopping List"
 DMG_LCD = "DMG"
 ACTION_SPELL_MISSED_POSSESSIVE = "1"
 TwintopResourceBar_SHAMAN_1_resourceBar_statusbarPushedTexture = TwintopResourceBar_SHAMAN_1_resourceBar_statusbarPushedTexture {
 }
 SLASH_STOPATTACK1 = "/stopattack"
 MAP_LEGEND_RARE_TOOLTIP = "A special creature that provides various rewards"