浏览代码

Merge pull request #203 from Unity-Technologies/bugfix-preview-node

Make preview node change in width on resizing (fixes #121)
/main
GitHub 7 年前
当前提交
df78da56
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
      MaterialGraphProject/Assets/UnityShaderEditor/Editor/Drawing/Views/MaterialNodeView.cs

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


var height = previewNode.height;
m_PreviewTextureView.style.height = height;
m_PreviewTextureView.style.width = width;
}
public void Dispose()

正在加载...
取消
保存