From 92b85b251ebbc7bbc83ca403e54ee9c61d8d4e6d Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Wed, 2 Nov 2016 17:08:34 +0900 Subject: [PATCH] Fix scale more. --- .../Beatmaps/Objects/Osu/Drawable/DrawableCircle.cs | 1 + osu.Game/GameModes/Play/Osu/OsuPlayfield.cs | 10 +++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/osu.Game/Beatmaps/Objects/Osu/Drawable/DrawableCircle.cs b/osu.Game/Beatmaps/Objects/Osu/Drawable/DrawableCircle.cs index f25e06aa31..88ed547017 100644 --- a/osu.Game/Beatmaps/Objects/Osu/Drawable/DrawableCircle.cs +++ b/osu.Game/Beatmaps/Objects/Osu/Drawable/DrawableCircle.cs @@ -86,6 +86,7 @@ namespace osu.Game.Beatmaps.Objects.Osu.Drawable //sane defaults ring.Alpha = circle.Alpha = number.Alpha = approachCircle.Alpha = glow.Alpha = 1; explode.Alpha = 0; + Scale = Vector2.One; //always-present transforms Transforms.Add(new TransformAlpha { StartTime = t - 1000, EndTime = t - 800, StartValue = 0, EndValue = 1 }); diff --git a/osu.Game/GameModes/Play/Osu/OsuPlayfield.cs b/osu.Game/GameModes/Play/Osu/OsuPlayfield.cs index f2f3068dc8..a6c4112321 100644 --- a/osu.Game/GameModes/Play/Osu/OsuPlayfield.cs +++ b/osu.Game/GameModes/Play/Osu/OsuPlayfield.cs @@ -32,7 +32,7 @@ namespace osu.Game.GameModes.Play.Osu Anchor = Anchor.Centre; Origin = Anchor.Centre; RelativeSizeAxes = Axes.Both; - Size = new Vector2(0.86f); + Size = new Vector2(0.75f); AddInternal(new Box { @@ -43,13 +43,17 @@ namespace osu.Game.GameModes.Play.Osu Alpha = 0.5f, }); - AddInternal(hitObjectContainer = new Container + AddInternal(hitObjectContainer = new HitObjectContainer { RelativeSizeAxes = Axes.Both, Anchor = Anchor.Centre, Origin = Anchor.Centre, - Scale = new Vector2(0.4f), }); } + + class HitObjectContainer : Container + { + protected override Vector2 ChildScale => new Vector2(0.625f); + } } } \ No newline at end of file