mirror of
https://github.com/hyprwm/hyprlock.git
synced 2026-05-08 22:08:02 +02:00
only render password i it's length exceeds one
This commit is contained in:
parent
00c39a8e55
commit
4d6b766e3a
1 changed files with 1 additions and 1 deletions
|
|
@ -380,7 +380,7 @@ bool CPasswordInputField::draw(const SRenderData& data) {
|
|||
|
||||
fontCol.a = DOTALPHA;
|
||||
}
|
||||
} else {
|
||||
} else if (password.content.length() > 0) {
|
||||
password.asset = g_pRenderer->asyncResourceGatherer->getAssetByID(password.resourceID);
|
||||
|
||||
if (password.asset) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue