Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix for wrath

  • Loading branch information...
commit fb7d040ad5c13e45dc8ae8ff3c78323560c51f0f 1 parent f56d1fe
@tekkub authored
Showing with 4 additions and 6 deletions.
  1. +4 −6 tekKonfigButton.lua
View
10 tekKonfigButton.lua
@@ -1,10 +1,10 @@
-local lib, oldminor = LibStub:NewLibrary("tekKonfig-Button", 3)
+local lib, oldminor = LibStub:NewLibrary("tekKonfig-Button", 4)
if not lib then return end
oldminor = oldminor or 0
-if oldminor < 3 then
+if oldminor < 4 then
local GameTooltip = GameTooltip
local function HideTooltip() GameTooltip:Hide() end
local function ShowTooltip(self)
@@ -25,7 +25,7 @@ if oldminor < 3 then
-- Fonts --
butt:SetDisabledFontObject(GameFontDisable)
butt:SetHighlightFontObject(GameFontHighlight)
- butt:SetTextFontObject(GameFontNormal)
+ butt:SetNormalFontObject(GameFontNormal)
-- Textures --
butt:SetNormalTexture("Interface\\Buttons\\UI-Panel-Button-Up")
@@ -44,14 +44,12 @@ if oldminor < 3 then
return butt
end
-end
-if oldminor < 2 then
function lib.new_small(parent, ...)
local butt = lib.new(parent, ...)
butt:SetHighlightFontObject(GameFontHighlightSmall)
- butt:SetTextFontObject(GameFontNormalSmall)
+ butt:SetNormalFontObject(GameFontNormalSmall)
return butt
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.