Skip to content

Commit

Permalink
input-field: fix color updates for BORDERLESS swap_font_color false (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
PaideiaDilemma authored Jan 30, 2025
1 parent 1bfa79e commit c976b6a
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 @@ -420,9 +420,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 if (targetGrad) {
Expand Down

0 comments on commit c976b6a

Please sign in to comment.