1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-13 18:47:27 +08:00

Apply adjustments

This commit is contained in:
smoogipoo 2020-02-21 10:01:38 +09:00
parent d82258ede6
commit 6468bfa543
3 changed files with 7 additions and 9 deletions

View File

@ -19,7 +19,7 @@ namespace osu.Game.Rulesets.Catch.Objects.Drawable
{ {
public override bool CanBePlated => true; public override bool CanBePlated => true;
protected Container ScaleContainer; protected Container ScaleContainer { get; private set; }
protected PalpableCatchHitObject(TObject hitObject) protected PalpableCatchHitObject(TObject hitObject)
: base(hitObject) : base(hitObject)

View File

@ -4,7 +4,6 @@
using osu.Framework.Allocation; using osu.Framework.Allocation;
using osu.Game.Rulesets.Catch.Objects.Drawable.Pieces; using osu.Game.Rulesets.Catch.Objects.Drawable.Pieces;
using osu.Game.Skinning; using osu.Game.Skinning;
using osuTK.Graphics;
namespace osu.Game.Rulesets.Catch.Objects.Drawable namespace osu.Game.Rulesets.Catch.Objects.Drawable
{ {
@ -20,11 +19,10 @@ namespace osu.Game.Rulesets.Catch.Objects.Drawable
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load() private void load()
{ {
ScaleContainer.Child = new SkinnableDrawable( ScaleContainer.Child = new SkinnableDrawable(new CatchSkinComponent(CatchSkinComponents.Droplet), _ => new Pulp
new CatchSkinComponent(CatchSkinComponents.Droplet), _ => new Pulp
{ {
Size = Size / 4, Size = Size / 4,
AccentColour = { Value = Color4.White } AccentColour = { BindTarget = AccentColour }
}); });
} }
} }

View File

@ -15,7 +15,7 @@ namespace osu.Game.Rulesets.Catch.Objects.Drawable
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load() private void load()
{ {
Scale /= 2; ScaleContainer.Scale /= 2;
} }
} }
} }