mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-30 11:10:00 +00:00
ui-widgets: keep original text sizing on buttons
This commit is contained in:
@@ -680,9 +680,6 @@ function pfUI.api.SkinButton(button, cr, cg, cb, icon, disableHighlight)
|
||||
|
||||
b:SetFont(pfUI.font_default, pfUI_config.global.font_size, "OUTLINE")
|
||||
|
||||
local text = b:GetFontString()
|
||||
if text then text:SetAllPoints() end
|
||||
|
||||
b.LockHighlight = function()
|
||||
b:SetBackdropBorderColor(cr,cg,cb,1)
|
||||
b.locked = true
|
||||
|
||||
Reference in New Issue
Block a user