From a034b8dc7ce47be1c20a19f0f77599445ee664de Mon Sep 17 00:00:00 2001 From: shagu Date: Sun, 25 May 2025 19:41:14 +0200 Subject: [PATCH] ui-widgets: restore button border transparency values --- api/ui-widgets.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/ui-widgets.lua b/api/ui-widgets.lua index 28057d71..9c27cfb1 100644 --- a/api/ui-widgets.lua +++ b/api/ui-widgets.lua @@ -596,12 +596,12 @@ end local function SetHighlightEnter() if this.locked then return end - (this.backdrop or this):SetBackdropBorderColor(this.cr,this.cg,this.cb,1) + (this.backdrop or this):SetBackdropBorderColor(this.cr,this.cg,this.cb,(this.ca or 1)) end local function SetHighlightLeave() if this.locked then return end - (this.backdrop or this):SetBackdropBorderColor(this.rr,this.rg,this.rb,1) + (this.backdrop or this):SetBackdropBorderColor(this.rr,this.rg,this.rb,(this.ra or 1)) end function pfUI.api.SetHighlight(frame, cr, cg, cb) @@ -612,8 +612,8 @@ function pfUI.api.SetHighlight(frame, cr, cg, cb) cr, cg, cb = color.r , color.g, color.b end - frame.cr, frame.cg, frame.cb = cr, cg, cb - frame.rr, frame.rg, frame.rb = GetStringColor(pfUI_config.appearance.border.color) + frame.cr, frame.cg, frame.cb = cr, cg, cb, ca + frame.rr, frame.rg, frame.rb, frame.ra = GetStringColor(pfUI_config.appearance.border.color) if not frame.pfEnterLeave then if not frame.HookScript then frame.HookScript = HookScript end