mirror of
https://github.com/hyprwm/hyprlock.git
synced 2024-11-16 23:05:58 +01:00
input: fix outerColor alpha being nuked
This commit is contained in:
parent
40802b9672
commit
a92e3fbe36
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue