mirror of
https://github.com/hyprwm/hyprlock.git
synced 2026-05-09 06:18:01 +02:00
change timer to 10 ms as delay can be very noticable in password input field
This commit is contained in:
parent
63457409ce
commit
2766182e62
1 changed files with 1 additions and 1 deletions
|
|
@ -231,7 +231,7 @@ void CPasswordInputField::renderPasswordUpdate() {
|
|||
} else {
|
||||
Debug::log(WARN, "Asset {} not available after the asyncResourceGatherer's callback!", password.pendingResourceID);
|
||||
|
||||
g_pHyprlock->addTimer(std::chrono::milliseconds(100), [REF = m_self](auto, auto) { assetReadyCallback(REF); }, nullptr);
|
||||
g_pHyprlock->addTimer(std::chrono::milliseconds(10), [REF = m_self](auto, auto) { assetReadyCallback(REF); }, nullptr);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue