mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Make DrawableHitObject a CompositeDrawable
No reason for it to be a container.
This commit is contained in:
@ -140,12 +140,12 @@ namespace osu.Game.Tests.Visual
|
||||
{
|
||||
Origin = Anchor.Centre;
|
||||
|
||||
Add(new Box
|
||||
InternalChild = new Box
|
||||
{
|
||||
Anchor = Anchor.Centre,
|
||||
Origin = Anchor.Centre,
|
||||
RelativeSizeAxes = Axes.Both
|
||||
});
|
||||
};
|
||||
|
||||
switch (direction)
|
||||
{
|
||||
@ -175,7 +175,7 @@ namespace osu.Game.Tests.Visual
|
||||
Origin = Anchor.Centre;
|
||||
AutoSizeAxes = Axes.Both;
|
||||
|
||||
Add(new Box { Size = new Vector2(75) });
|
||||
InternalChild = new Box { Size = new Vector2(75) };
|
||||
}
|
||||
|
||||
protected override void UpdateState(ArmedState state)
|
||||
|
Reference in New Issue
Block a user