浏览代码

fix double tap bug

/main
Xingwei Zhu 3 年前
当前提交
dadf508d
共有 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() {

正在加载...
取消
保存