浏览代码

Merge pull request #206 from Unity-Technologies/fix_button_down_issue

fix mouse button down issue
/main
GitHub 3 年前
当前提交
311c0415
共有 5 个文件被更改,包括 0 次插入1 次删除
  1. 1
      engine/src/lib/ui/window/pointer_data_packet_converter.cc

1
engine/src/lib/ui/window/pointer_data_packet_converter.cc


PointerData synthesized_hover_event = pointer_data;
synthesized_hover_event.change = PointerData::Change::kHover;
synthesized_hover_event.synthesized = 1;
synthesized_hover_event.buttons = state.previous_buttons;
UpdateDeltaAndState(synthesized_hover_event, state);
converted_pointers.push_back(synthesized_hover_event);

部分文件因为文件数量过多而无法显示

正在加载...
取消
保存