add comments
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
863c8de28e
commit
315a2a695f
1 changed files with 2 additions and 0 deletions
|
|
@ -93,6 +93,7 @@ class _RawTouchGestureDetectorRegionState
|
|||
return;
|
||||
}
|
||||
if (handleTouch) {
|
||||
// Desktop or mobile "Touch mode"
|
||||
ffi.cursorModel.move(d.localPosition.dx, d.localPosition.dy);
|
||||
inputModel.tapDown(MouseButtons.left);
|
||||
}
|
||||
|
|
@ -113,6 +114,7 @@ class _RawTouchGestureDetectorRegionState
|
|||
return;
|
||||
}
|
||||
if (!handleTouch) {
|
||||
// Mobile, "Mouse mode"
|
||||
inputModel.tap(MouseButtons.left);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue