浏览代码

Update DoRepaint for UIElements change in trunk

/main
Peter Bay Bastian 6 年前
当前提交
7b43adb3
共有 2 个文件被更改,包括 6 次插入2 次删除
  1. 2
      ShaderGraph/com.unity.shadergraph/Editor/Drawing/Blackboard/BlackboardFieldPropertyView.cs
  2. 6
      ShaderGraph/com.unity.shadergraph/Editor/Drawing/Manipulators/ResizeSideHandle.cs

2
ShaderGraph/com.unity.shadergraph/Editor/Drawing/Blackboard/BlackboardFieldPropertyView.cs


return;
colorProperty.colorMode = (ColorMode)evt.newValue;
colorField.hdr = colorProperty.colorMode == ColorMode.HDR;
colorField.DoRepaint();
colorField.MarkDirtyRepaint();
DirtyNodes();
});
AddRow("Mode", colorModeField);

6
ShaderGraph/com.unity.shadergraph/Editor/Drawing/Manipulators/ResizeSideHandle.cs


using System;
using System;
using UnityEngine;
using UnityEngine.Experimental.UIElements;
using UnityEngine.Experimental.UIElements.StyleSheets;

m_WindowDockingLayout.ApplyPosition(m_Container);
}
#if UNITY_2018_3_OR_NEWER
protected override void DoRepaint(IStylePainter painter)
#else
#endif
{
if (m_StyleWidget == null)
{

正在加载...
取消
保存