1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-31 16:30:38 +08:00

Move hit target bar height constant to more local class (#7497)

Move hit target bar height constant to more local class
This commit is contained in:
Dean Herbert
2020-01-11 21:52:04 +08:00
committed by GitHub
Unverified
@@ -18,8 +18,6 @@ namespace osu.Game.Rulesets.Mania.UI.Components
{
public class ColumnHitObjectArea : CompositeDrawable, IHasAccentColour
{
private const float hit_target_bar_height = 2;
private readonly IBindable<ScrollingDirection> direction = new Bindable<ScrollingDirection>();
private readonly Drawable hitTarget;
@@ -67,6 +65,8 @@ namespace osu.Game.Rulesets.Mania.UI.Components
private class DefaultHitTarget : CompositeDrawable, IHasAccentColour
{
private const float hit_target_bar_height = 2;
private readonly IBindable<ScrollingDirection> direction = new Bindable<ScrollingDirection>();
private readonly Container hitTargetLine;