浏览代码

Moved the node settings menu to the right place.

/main
Martin Thorzen 7 年前
当前提交
2fde6ea5
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. 1
      com.unity.shadergraph/Editor/Data/Nodes/MasterNode.cs
  2. 2
      com.unity.shadergraph/Editor/Resources/Styles/NodeSettings.uss

1
com.unity.shadergraph/Editor/Data/Nodes/MasterNode.cs


public VisualElement CreateSettingsElement()
{
// do staff
var container = new VisualElement();
var commonSettingsElement = CreateCommonSettingsElement();
if (commonSettingsElement != null)

2
com.unity.shadergraph/Editor/Resources/Styles/NodeSettings.uss


NodeSettingsView {
width: 232;
position-type: absolute;
position-left: 143;
position-left: 146.5;
position-top: 22;
slice-top: 40;

正在加载...
取消
保存