终于修复了PropertyItem多层预制体的收纳/展开rect错误

This commit is contained in:
2025-09-07 17:50:20 +08:00
parent 427b916dd2
commit 6de8b3ebc5
8 changed files with 58 additions and 27 deletions

View File

@@ -188,7 +188,7 @@ namespace Convention
if (IsFile() == false)
throw new InvalidOperationException("Target is not a file");
string result = "";
using (var fs = (this.OriginInfo as FileInfo).OpenText())
using (var fs = new StreamReader((this.OriginInfo as FileInfo).OpenRead()))
{
result = fs.ReadToEnd();
}