1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:17:23 +08:00

Write control points in absolute coordinates

This commit is contained in:
smoogipoo 2019-12-12 18:41:13 +09:00
parent 8f03599a62
commit c3475a2dde

View File

@ -260,7 +260,7 @@ namespace osu.Game.Beatmaps.Formats
break;
}
writer.Write(FormattableString.Invariant($"{point.Position.Value.X}:{point.Position.Value.Y}"));
writer.Write(FormattableString.Invariant($"{positionData.X + point.Position.Value.X}:{positionData.Y + point.Position.Value.Y}"));
writer.Write(i != curveData.Path.ControlPoints.Count - 1 ? "|" : ",");
}