From a92e3fbe36d38dcb0d17262839093d509a595d0a Mon Sep 17 00:00:00 2001 From: vaxerski Date: Tue, 20 Feb 2024 16:34:59 +0000 Subject: [PATCH] input: fix outerColor alpha being nuked --- src/renderer/widgets/PasswordInputField.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/widgets/PasswordInputField.cpp b/src/renderer/widgets/PasswordInputField.cpp index 93d2870..90c98e9 100644 --- a/src/renderer/widgets/PasswordInputField.cpp +++ b/src/renderer/widgets/PasswordInputField.cpp @@ -103,7 +103,7 @@ bool CPasswordInputField::draw(const SRenderData& data) { float passAlpha = g_pHyprlock->passwordCheckWaiting() ? 0.5 : 1.0; CColor outerCol = outer; - outer.a *= fade.a * data.opacity; + outerCol.a *= fade.a * data.opacity; CColor innerCol = inner; innerCol.a *= fade.a * data.opacity; CColor fontCol = font;