change timer to 10 ms as delay can be very noticable in password input field

This commit is contained in:
Felix Salcher 2025-06-04 15:31:59 +02:00
parent 63457409ce
commit 2766182e62
No known key found for this signature in database

View file

@ -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;
}