Mercurial > wow > hotcorners
diff Libs/AceGUI-3.0/widgets/AceGUIWidget-Button.lua @ 11:371e14cd2feb
- major fixes with icons not showing correctly.
author | Tercio |
---|---|
date | Thu, 08 Dec 2016 13:01:40 -0200 |
parents | fc346da3afd9 |
children | 3000eccbf1a0 |
line wrap: on
line diff
--- a/Libs/AceGUI-3.0/widgets/AceGUIWidget-Button.lua Tue Oct 25 15:59:51 2016 -0200 +++ b/Libs/AceGUI-3.0/widgets/AceGUIWidget-Button.lua Thu Dec 08 13:01:40 2016 -0200 @@ -13,12 +13,6 @@ local _G = _G local PlaySound, CreateFrame, UIParent = PlaySound, CreateFrame, UIParent -local wowMoP -do - local _, _, _, interface = GetBuildInfo() - wowMoP = (interface >= 50000) -end - --[[----------------------------------------------------------------------------- Scripts -------------------------------------------------------------------------------]] @@ -80,7 +74,7 @@ -------------------------------------------------------------------------------]] local function Constructor() local name = "AceGUI30Button" .. AceGUI:GetNextWidgetNum(Type) - local frame = CreateFrame("Button", name, UIParent, wowMoP and "UIPanelButtonTemplate" or "UIPanelButtonTemplate2") + local frame = CreateFrame("Button", name, UIParent, "UIPanelButtonTemplate") frame:Hide() frame:EnableMouse(true)