浏览代码

minor polish

/main
Mohsen Kamalzadeh 4 年前
当前提交
de4d1ebb
共有 1 个文件被更改,包括 8 次插入2 次删除
  1. 10
      com.unity.perception/Editor/GroundTruth/AddToConfigWindow.cs

10
com.unity.perception/Editor/GroundTruth/AddToConfigWindow.cs


{
m_LabelValues = new List<string>(labelValues);
var window = GetWindow<AddToConfigWindow>();
if (m_Status != null)
{
m_Status.style.display = DisplayStyle.None;
}
if (labelValues.Count == 1)
{

window.titleContent = new GUIContent("Manage Label");
window.minSize = new Vector2(400, 390);
window.maxSize = new Vector2(400, 390);
window.maxSize = new Vector2(700, 390);
}
else
{

window.titleContent = new GUIContent("Manage Labels");
window.minSize = new Vector2(400, 370);
window.maxSize = new Vector2(400, 1000);
window.maxSize = new Vector2(700, 1000);
}
window.Init();

正在加载...
取消
保存