浏览代码

fix mouse tracking issue

cherry-pick from tal project
/uiwidgets_1.0
xingweizhu 3 年前
当前提交
0c4b655c
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 3
      com.unity.uiwidgets/Runtime/gestures/mouse_tracking.cs

3
com.unity.uiwidgets/Runtime/gestures/mouse_tracking.cs


return;
}
int deviceId = evt.device;
//for mouse tracking purpose, the evt.device id makes no difference at all
int deviceId = 0;
if (this._trackedAnnotations.isEmpty()) {
// If we are adding the device again, then we're not removing it anymore.
this._lastMouseEvent.Remove(deviceId);

正在加载...
取消
保存