input: remove animate checks on resize limiter (#4480)

This commit is contained in:
Epilepsy Gatherings 2024-01-19 09:45:51 -05:00 committed by GitHub
parent c4365f20ed
commit 9f20a15955
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -314,8 +314,7 @@ void IHyprLayout::onMouseMove(const Vector2D& mousePos) {
if ((abs(TICKDELTA.x) < 1.f && abs(TICKDELTA.y) < 1.f) ||
(std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::high_resolution_clock::now() - TIMER).count() <
1000.0 / g_pHyprRenderer->m_pMostHzMonitor->refreshRate &&
(*PANIMATEMOUSE || *PANIMATE)))
1000.0 / g_pHyprRenderer->m_pMostHzMonitor->refreshRate))
return;
TIMER = std::chrono::high_resolution_clock::now();