浏览代码

Merge pull request #305 from Unity-Technologies/fix_double_tap_issue

fix double tap bug
/main
GitHub 3 年前
当前提交
40944cfa
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 2
      com.unity.uiwidgets/Runtime/gestures/multitap.cs
  2. 2
      com.unity.uiwidgets/Runtime/gestures/recognizer.cs

2
com.unity.uiwidgets/Runtime/gestures/multitap.cs


void _checkUp(int buttons) {
D.assert(buttons == gesture_.kPrimaryButton);
if (onDoubleTap != null) {
invokeCallback("onDoubleTap",() => onDoubleTap);
invokeCallback("onDoubleTap",() => onDoubleTap());
}
}

2
com.unity.uiwidgets/Runtime/gestures/recognizer.cs


return true;
});
callback();
}
catch (Exception ex) {
IEnumerable<DiagnosticsNode> infoCollector() {

正在加载...
取消
保存