Skip to content

Commit

Permalink
Fix tournament screen tests not matching OsuGameBase resolution
Browse files Browse the repository at this point in the history
This would cause things to look completely out of whack.

The numbers here match `DrawSizePreservingFillContainer` defaults as
used by `OsuGameBase.CreateScalingContainer()`.
  • Loading branch information
peppy committed Aug 31, 2023
1 parent 4b68493 commit 540c58c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osu.Game.Tournament.Tests/TournamentScreenTestScene.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ private partial class TournamentScalingContainer : DrawSizePreservingFillContain
{
public TournamentScalingContainer()
{
TargetDrawSize = new Vector2(1920, 1080);
TargetDrawSize = new Vector2(1024, 768);
RelativeSizeAxes = Axes.Both;
}

Expand Down

0 comments on commit 540c58c

Please sign in to comment.