mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-24 12:29:04 +08:00
debug android scroll
Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
parent
072430cef5
commit
5b2358c97f
@ -180,6 +180,8 @@ class InputService : AccessibilityService() {
|
|||||||
TOUCH_PAN_UPDATE -> {
|
TOUCH_PAN_UPDATE -> {
|
||||||
mouseX -= _x * SCREEN_INFO.scale
|
mouseX -= _x * SCREEN_INFO.scale
|
||||||
mouseY -= _y * SCREEN_INFO.scale
|
mouseY -= _y * SCREEN_INFO.scale
|
||||||
|
mouseX = max(0, mouseX);
|
||||||
|
mouseY = max(0, mouseY);
|
||||||
continueGesture(mouseX, mouseY)
|
continueGesture(mouseX, mouseY)
|
||||||
}
|
}
|
||||||
TOUCH_PAN_START -> {
|
TOUCH_PAN_START -> {
|
||||||
|
Loading…
Reference in New Issue
Block a user