From 19c4855afce7e4dfa316cbd40f2c991fd3f87e0b Mon Sep 17 00:00:00 2001 From: Dashie Date: Wed, 16 Aug 2023 10:56:48 +0200 Subject: [PATCH] layout: Use refreshrate tick on all manual animations (#2988) --- src/layout/IHyprLayout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layout/IHyprLayout.cpp b/src/layout/IHyprLayout.cpp index 2e3f690f..1ff57ea1 100644 --- a/src/layout/IHyprLayout.cpp +++ b/src/layout/IHyprLayout.cpp @@ -301,7 +301,7 @@ void IHyprLayout::onMouseMove(const Vector2D& mousePos) { if ((abs(TICKDELTA.x) < 1.f && abs(TICKDELTA.y) < 1.f) || (std::chrono::duration_cast(std::chrono::high_resolution_clock::now() - TIMER).count() < 1000.0 / g_pHyprRenderer->m_pMostHzMonitor->refreshRate && - *PANIMATEMOUSE)) + (*PANIMATEMOUSE || *PANIMATE))) return; TIMER = std::chrono::high_resolution_clock::now();