Add more flexible skin element confine modes

This commit is contained in:
Dean Herbert
2019-07-18 12:10:28 +09:00
parent 38d39be678
commit 74c961bcff
10 changed files with 43 additions and 27 deletions

View File

@ -23,7 +23,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
public DrawableSliderTick(SliderTick sliderTick)
: base(sliderTick)
{
Size = new Vector2(16) * sliderTick.Scale;
Size = new Vector2(16 * sliderTick.Scale);
Origin = Anchor.Centre;
InternalChildren = new Drawable[]
@ -44,7 +44,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
Colour = AccentColour,
Alpha = 0.3f,
}
}, restrictSize: false)
})
};
}