From 2406f34b04c6e4a29b0d3fb29a1b85bddd9a565c Mon Sep 17 00:00:00 2001 From: shagu Date: Sun, 25 May 2025 19:44:31 +0200 Subject: [PATCH] ui-widgets: restore dropdown button border transparency --- api/ui-widgets.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/ui-widgets.lua b/api/ui-widgets.lua index 9c27cfb1..5d6094b5 100644 --- a/api/ui-widgets.lua +++ b/api/ui-widgets.lua @@ -186,11 +186,11 @@ do -- dropdown end local function ListButtonOnEnter() - this.button:SetBackdropBorderColor(this.button.cr,this.button.cg,this.button.cb,1) + this.button:SetBackdropBorderColor(this.button.cr,this.button.cg,this.button.cb,(this.button.ca or 1)) end local function ListButtonOnLeave() - this.button:SetBackdropBorderColor(this.button.rr,this.button.rg,this.button.rb,1) + this.button:SetBackdropBorderColor(this.button.rr,this.button.rg,this.button.rb,(this.button.ra or 1)) end local handlers = {