浏览代码

gestures

/main
kg 6 年前
当前提交
993df6f1
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 5
      Assets/UIWidgets/gestures/converter.cs

5
Assets/UIWidgets/gestures/converter.cs


case PointerChange.down: {
_PointerState state = _ensureStateForPointer(datum, position);
D.assert(!state.down);
if (state.lastPosition != position) {
// a hover event to be here.
state.lastPosition = position;
}
state.startNewPointer();
state.setDown();
yield return new PointerDownEvent(

正在加载...
取消
保存