mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-29 14:45:58 +01:00
input: remove animate checks on resize limiter (#4480)
This commit is contained in:
parent
c4365f20ed
commit
9f20a15955
1 changed files with 1 additions and 2 deletions
|
@ -314,8 +314,7 @@ void IHyprLayout::onMouseMove(const Vector2D& mousePos) {
|
||||||
|
|
||||||
if ((abs(TICKDELTA.x) < 1.f && abs(TICKDELTA.y) < 1.f) ||
|
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() <
|
(std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::high_resolution_clock::now() - TIMER).count() <
|
||||||
1000.0 / g_pHyprRenderer->m_pMostHzMonitor->refreshRate &&
|
1000.0 / g_pHyprRenderer->m_pMostHzMonitor->refreshRate))
|
||||||
(*PANIMATEMOUSE || *PANIMATE)))
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
TIMER = std::chrono::high_resolution_clock::now();
|
TIMER = std::chrono::high_resolution_clock::now();
|
||||||
|
|
Loading…
Reference in a new issue