浏览代码

Updated so it is only left mouse click that can open using the double click

/main
Martin Thorzen 7 年前
当前提交
5dd3e527
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Views/MaterialNodeView.cs

2
MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Views/MaterialNodeView.cs


void OnSubGraphDoubleClick(MouseDownEvent evt)
{
if (evt.clickCount == 2)
if (evt.clickCount == 2 && evt.button == 0)
{
SubGraphNode subgraphNode = node as SubGraphNode;

正在加载...
取消
保存