mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-10 10:20:44 -07:00
Merge branch 'inputqolctrlzoom' into 'master'
InputQOLCtrlZoom See merge request 2009scape/rt4-client!1
This commit is contained in:
commit
3e16a7bea4
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ class plugin : Plugin() {
|
|||
object MouseWheelCallbacks : MouseWheelListener {
|
||||
override fun mouseWheelMoved(e: MouseWheelEvent?) {
|
||||
e ?: return
|
||||
if (API.IsKeyPressed(Keyboard.KEY_SHIFT)) {
|
||||
if (API.IsKeyPressed(Keyboard.KEY_SHIFT) || API.IsKeyPressed(Keyboard.KEY_CTRL)) {
|
||||
val previous = API.GetPreviousMouseWheelRotation()
|
||||
val current = API.GetMouseWheelRotation()
|
||||
val diff = current - previous
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue