diff --git a/osu.Game/Screens/OnlinePlay/Matchmaking/Queue/RatingDistributionGraph.cs b/osu.Game/Screens/OnlinePlay/Matchmaking/Queue/RatingDistributionGraph.cs index d4d4a83eb6..1f6107141b 100644 --- a/osu.Game/Screens/OnlinePlay/Matchmaking/Queue/RatingDistributionGraph.cs +++ b/osu.Game/Screens/OnlinePlay/Matchmaking/Queue/RatingDistributionGraph.cs @@ -11,6 +11,7 @@ using osu.Framework.Graphics.Lines; using osu.Framework.Graphics.Shapes; using osu.Framework.Input.Events; using osu.Framework.Layout; +using osu.Framework.Utils; using osu.Game.Graphics; using osu.Game.Graphics.Containers; using osu.Game.Graphics.Sprites; @@ -521,7 +522,8 @@ namespace osu.Game.Screens.OnlinePlay.Matchmaking.Queue protected override void Update() { base.Update(); - Width = Parent!.DrawWidth / Parent.ScreenSpaceDrawQuad.Width; + if (Precision.DefinitelyBigger(Parent!.ScreenSpaceDrawQuad.Width, 0)) + Width = Parent.DrawWidth / Parent.ScreenSpaceDrawQuad.Width; } } @@ -533,7 +535,8 @@ namespace osu.Game.Screens.OnlinePlay.Matchmaking.Queue protected override void Update() { base.Update(); - Height = Parent!.DrawHeight / Parent.ScreenSpaceDrawQuad.Height; + if (Precision.DefinitelyBigger(Parent!.ScreenSpaceDrawQuad.Height, 0)) + Height = Parent!.DrawHeight / Parent.ScreenSpaceDrawQuad.Height; } } diff --git a/osu.Game/Screens/OnlinePlay/Matchmaking/Queue/ScreenQueue.cs b/osu.Game/Screens/OnlinePlay/Matchmaking/Queue/ScreenQueue.cs index 4715a6f761..d08635a444 100644 --- a/osu.Game/Screens/OnlinePlay/Matchmaking/Queue/ScreenQueue.cs +++ b/osu.Game/Screens/OnlinePlay/Matchmaking/Queue/ScreenQueue.cs @@ -6,6 +6,7 @@ using System.Diagnostics; using System.Linq; using System.Threading; using System.Threading.Tasks; +using osu.Framework; using osu.Framework.Allocation; using osu.Framework.Audio; using osu.Framework.Audio.Sample; @@ -124,7 +125,7 @@ namespace osu.Game.Screens.OnlinePlay.Matchmaking.Queue RowDimensions = [ new Dimension(), - new Dimension(GridSizeMode.Relative, 0.35f) + new Dimension(GridSizeMode.Relative, RuntimeInfo.IsMobile ? 0.55f : 0.35f) ], Content = new[] {