Skip to content

Commit

Permalink
input-field: fix color updates for BORDERLESS swap_font_color false (h…
Browse files Browse the repository at this point in the history
  • Loading branch information
andresilva committed Jan 31, 2025
1 parent 9cb5cd9 commit 23dc800
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer/widgets/PasswordInputField.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -507,9 +507,9 @@ void CPasswordInputField::updateColors() {

if (checkWaiting || displayFail || g_pHyprlock->m_bCapsLock || NUMLOCK) {
if (BORDERLESS && colorConfig.swapFont) {
fontTarget = colorConfig.fail->m_vColors.front();
fontTarget = targetGrad->m_vColors.front();
} else if (BORDERLESS && !colorConfig.swapFont) {
innerTarget = colorConfig.fail->m_vColors.front();
innerTarget = targetGrad->m_vColors.front();
// When changing the inner color the font cannot be fail_color
fontTarget = colorConfig.font;
} else {
Expand Down

0 comments on commit 23dc800

Please sign in to comment.