mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-26 14:00:48 +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")
|
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.LockHighlight = function()
|
||||||
b:SetBackdropBorderColor(cr,cg,cb,1)
|
b:SetBackdropBorderColor(cr,cg,cb,1)
|
||||||
b.locked = true
|
b.locked = true
|
||||||
|
|||||||
Reference in New Issue
Block a user