mirror of
https://github.com/hyprwm/hyprlock.git
synced 2025-05-12 21:30:37 +01:00
input-field: fix color updates for BORDERLESS swap_font_color false (#669)
This commit is contained in:
parent
1bfa79eb83
commit
c976b6a1d1
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue