Skip to content

Commit

Permalink
修复修复BUG没修复好的BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
commandf1 committed Sep 30, 2024
1 parent f4d2466 commit 10dc4b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion COG/UI/CustomButton/CustomButton.cs
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ internal static void ArrangePosition()
{
var pos = b.transform.localPosition;
var (x, y, z) = (pos.x, pos.y, pos.z);
if ((x > 0 && x < 0.01) || (y > 0 && y < 0.01) || (z > 0 && z < 0.01)) exit = true;
if (x < 0.01 || y < 0.01 || z < 0.01) exit = true;
return (x, y, z);
}).ToList(); // 不知为何原来的select函数返回的集合中在靠近管理室地图下会返回一个极大的数字,只能这样了

Expand Down

0 comments on commit 10dc4b9

Please sign in to comment.