Centralise and fix scaling

This commit is contained in:
Dean Herbert
2020-02-19 14:31:14 +09:00
parent ce1a57550f
commit 3eeb60f60f
4 changed files with 14 additions and 16 deletions

View File

@ -2,11 +2,11 @@
// See the LICENCE file in the repository root for full licence text.
using System;
using osuTK;
using osu.Framework.Graphics;
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.Objects.Drawables;
using osu.Game.Rulesets.Scoring;
using osuTK;
namespace osu.Game.Rulesets.Catch.Objects.Drawable
{
@ -18,7 +18,9 @@ namespace osu.Game.Rulesets.Catch.Objects.Drawable
protected PalpableCatchHitObject(TObject hitObject)
: base(hitObject)
{
Scale = new Vector2(HitObject.Scale);
Origin = Anchor.Centre;
Size = new Vector2(CatchHitObject.OBJECT_RADIUS * 2);
Masking = false;
}
}