From ad6cfe9a5a4aef3880c99ed477bf0c705790d462 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Sat, 23 Mar 2013 19:25:49 +0100 Subject: [PATCH] oUF uses the secure menu from 5.2 --- oUF_P3lim.lua | 8 -------- 1 file changed, 8 deletions(-) diff --git a/oUF_P3lim.lua b/oUF_P3lim.lua index 913531d..5123d6e 100644 --- a/oUF_P3lim.lua +++ b/oUF_P3lim.lua @@ -14,13 +14,6 @@ local BACKDROP = { bgFile = TEXTURE, insets = {top = -1, bottom = -1, left = -1, right = -1} } -local function SpawnMenu(self) - local dropdown = _G[string.gsub(self.unit, '^.', string.upper)..'FrameDropDown'] - if(dropdown) then - ToggleDropDownMenu(1, nil, dropdown, 'cursor') - end -end - local function OnUpdateSavage(self, elapsed) if(self.elapsed) then self.elapsed = self.elapsed + elapsed @@ -401,7 +394,6 @@ local function Shared(self, unit) Health:SetPoint('TOPRIGHT') Health:SetPoint('TOPLEFT') - self.menu = SpawnMenu self:SetHeight(22) end -- 1.7.9.5