summaryrefslogtreecommitdiff
path: root/src/managers/input/InputManager.cpp
diff options
context:
space:
mode:
authoraphelei <arnaudpecoraro1@gmail.com>2025-07-01 11:33:48 +0200
committerGitHub <noreply@github.com>2025-07-01 11:33:48 +0200
commite9c5594186d7ba935e966751d4d676cda998c34b (patch)
tree2a5ee8d3a6bbbdd11323652910cb74455bd8d887 /src/managers/input/InputManager.cpp
parente827b75e22daeb8e152c6766105b10cb689e10e2 (diff)
renderer: add mouse zoom animations (#10882)
Adds animations for the mouse zoom effect.
Diffstat (limited to 'src/managers/input/InputManager.cpp')
-rw-r--r--src/managers/input/InputManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp
index 0dbeb136..a1efc49d 100644
--- a/src/managers/input/InputManager.cpp
+++ b/src/managers/input/InputManager.cpp
@@ -213,7 +213,7 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus, bool mouse) {
if (PMONITOR == nullptr)
return;
- if (*PZOOMFACTOR != 1.f)
+ if (PMONITOR->m_cursorZoom->value() != 1.f)
g_pHyprRenderer->damageMonitor(PMONITOR);
bool skipFrameSchedule = PMONITOR->shouldSkipScheduleFrameOnMouseEvent();