提交 467c541c 编写于 作者: 魔术师Dix's avatar 魔术师Dix

【Fix】特殊处理下划线的问题,全部替换成-号;

上级 87b17477
......@@ -77,7 +77,7 @@ namespace UpmGitTool.UI
}
private void CopyGitUrl() { GUIUtility.systemCopyBuffer = GitPath.text; }
private void CopyGitUrl() { GUIUtility.systemCopyBuffer = CurrentVersion.GitUrl; }
public UPackage Package { get; private set; }
......@@ -122,8 +122,8 @@ namespace UpmGitTool.UI
}
else
{
GitPath.SetText(v.GitUrl);
DescripeLabel.SetText(CurrentVersion.Description);
GitPath.SetText(v.GitUrl.Replace('_', '-'));
DescripeLabel.SetText(CurrentVersion.Description.Replace('_', '-'));
BtnCopy.gameObject.SetActive(!string.IsNullOrEmpty(v.GitUrl));
BtnDocumentation.gameObject.SetActive(!string.IsNullOrEmpty(CurrentVersion.DocumentationUrl));
BtnChangeLog.gameObject.SetActive(!string.IsNullOrEmpty(CurrentVersion.ChangelogUrl));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册