mirror of
https://github.com/ppy/osu.git
synced 2026-05-31 15:50:47 +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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user