summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ab3f0bb)
raw | patch | inline | side by side (parent: ab3f0bb)
author | fredboy <fredboy@protonmail.com> | |
Tue, 23 Apr 2024 03:12:58 +0000 (10:12 +0700) | ||
committer | fredboy <fredboy@protonmail.com> | |
Tue, 23 Apr 2024 03:12:58 +0000 (10:12 +0700) |
core/src/ru/deadsoftware/cavedroid/game/input/handler/mouse/HotbarMouseInputHandler.kt | patch | blob | history |
diff --git a/core/src/ru/deadsoftware/cavedroid/game/input/handler/mouse/HotbarMouseInputHandler.kt b/core/src/ru/deadsoftware/cavedroid/game/input/handler/mouse/HotbarMouseInputHandler.kt
index 5f983c5967feb860175e45c78effe82b919f46c4..31827d22a3e5c088ad03ee09fb278b63727f10d4 100644 (file)
cancelHold()
}
- if (action.actionKey !is MouseInputActionKey.Left) {
+ if (action.actionKey !is MouseInputActionKey.Left && action.actionKey !is MouseInputActionKey.Touch ) {
if (action.actionKey is MouseInputActionKey.Scroll) {
handleScroll(action)
}