浏览代码

There were some issues on our nodes that needed to be fixed.

The expand arrow icon was showing al the time
The Enum control was a tad bit too wide.
/main
Martin Thorzen 7 年前
当前提交
d9a306ac
共有 2 个文件被更改,包括 1 次插入3 次删除
  1. 2
      com.unity.shadergraph/Editor/Resources/Styles/Controls/EnumControlView.uss
  2. 2
      com.unity.shadergraph/Editor/Resources/Styles/MaterialNodeView.uss

2
com.unity.shadergraph/Editor/Resources/Styles/Controls/EnumControlView.uss


}
EnumControlView > Label {
width: 100;
width: 94;
padding-left: 0;
padding-right: 0;
padding-top: 0;

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


}
MaterialNodeView #previewFiller > #expand > #icon {
align-self: center;
background-image : resource("GraphView/Nodes/PreviewExpand.png");
width: 16;
height: 16;

#settings-button {
width: 16;
align-self: center;
justify-content: center;
padding-left: 8;
}

正在加载...
取消
保存