Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions osu.Framework/Graphics/Containers/TextFlowContainer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -535,9 +535,9 @@ static Axes toAxes(FillDirection direction)
// Things will be accounted for accurately later.
// All calls to `spacingFactor()` in the original code thus reduce to returning (0,0).
if (c.RelativeAnchorPosition != Vector2.Zero)
throw new InvalidOperationException($"All drawables in a {nameof(TextFlowContainer)} must not specify custom {RelativeAnchorPosition}s. Only (0,0) is supported.");
throw new InvalidOperationException($"All drawables in a {nameof(TextFlowContainer)} must not specify custom {nameof(RelativeAnchorPosition)}s. Only (0,0) is supported.");
if (c.RelativeOriginPosition != Vector2.Zero)
throw new InvalidOperationException($"All drawables in a {nameof(TextFlowContainer)} must not specify custom {RelativeOriginPosition}s. Only (0,0) is supported.");
throw new InvalidOperationException($"All drawables in a {nameof(TextFlowContainer)} must not specify custom {nameof(RelativeOriginPosition)}s. Only (0,0) is supported.");

// Populate running variables with sane initial values.
if (i == 0)
Expand Down
Loading