plugins/shakecursor: Make it easier to build up magnification
This commit is contained in:
parent
494e4a07f2
commit
0a5bd7397b
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ void ShakeCursorEffect::pointerEvent(MouseEvent *event)
|
|||
.position = m_cursor->pos(),
|
||||
.hotspot = m_cursor->hotspot(),
|
||||
.size = m_cursor->geometry().size(),
|
||||
.magnification = 1.0 + ShakeCursorConfig::magnification() * shakeFactor.value(),
|
||||
.magnification = std::max(m_cursorMagnification, 1.0 + ShakeCursorConfig::magnification() * shakeFactor.value()),
|
||||
});
|
||||
m_resetCursorScaleTimer.start(1000);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue