mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-16 11:30:19 -07:00
consolidate
This commit is contained in:
parent
6c288da807
commit
8ed7c57377
2 changed files with 1 additions and 115 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