renderer: add mouse zoom animations (#10882)
Adds animations for the mouse zoom effect.
This commit is contained in:
parent
e827b75e22
commit
e9c5594186
6 changed files with 20 additions and 10 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue