input: fix outerColor alpha being nuked

This commit is contained in:
Vaxry 2024-02-20 16:34:59 +00:00
parent 40802b9672
commit a92e3fbe36

View file

@ -103,7 +103,7 @@ bool CPasswordInputField::draw(const SRenderData& data) {
float passAlpha = g_pHyprlock->passwordCheckWaiting() ? 0.5 : 1.0; float passAlpha = g_pHyprlock->passwordCheckWaiting() ? 0.5 : 1.0;
CColor outerCol = outer; CColor outerCol = outer;
outer.a *= fade.a * data.opacity; outerCol.a *= fade.a * data.opacity;
CColor innerCol = inner; CColor innerCol = inner;
innerCol.a *= fade.a * data.opacity; innerCol.a *= fade.a * data.opacity;
CColor fontCol = font; CColor fontCol = font;