mirror of
https://github.com/hyprwm/hyprlock.git
synced 2025-12-20 00:40:03 +01:00
input-field: fix wrong placeholder text for resourceID (#819)
This commit is contained in:
parent
46498da4a0
commit
17fefce86e
1 changed files with 1 additions and 2 deletions
|
|
@ -351,8 +351,7 @@ void CPasswordInputField::updatePlaceholder() {
|
|||
if (!ALLOWCOLORSWAP && newText == placeholder.currentText)
|
||||
return;
|
||||
|
||||
const auto NEWRESOURCEID =
|
||||
std::format("placeholder:{}{}{}{}{}{}", placeholder.currentText, (uintptr_t)this, colorState.font.r, colorState.font.g, colorState.font.b, colorState.font.a);
|
||||
const auto NEWRESOURCEID = std::format("placeholder:{}{}{}{}{}{}", newText, (uintptr_t)this, colorState.font.r, colorState.font.g, colorState.font.b, colorState.font.a);
|
||||
|
||||
if (placeholder.resourceID == NEWRESOURCEID)
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue