WoW:API EasyMenu: Difference between revisions

fix frame in SetPoint call
(fix frame in SetPoint call)
Line 31: Line 31:
   
   
  -- Make the menu appear at the cursor:  
  -- Make the menu appear at the cursor:  
  EasyMenu(menuList, menuFrame, "cursor", 0 , 0, "MENU");
  EasyMenu(menu, menuFrame, "cursor", 0 , 0, "MENU");
  -- Or make the menu appear at the frame:
  -- Or make the menu appear at the frame:
  menu_frame:SetPoint("Center", UIParent, "Center")
  menuFrame:SetPoint("Center", UIParent, "Center")
  EasyMenu(menuList, menuFrame, menuFrame, 0 , 0, "MENU");
  EasyMenu(menu, menuFrame, menuFrame, 0 , 0, "MENU");


==Notes==
==Notes==