mirror of
https://github.com/ppy/osu.git
synced 2024-11-14 17:17:24 +08:00
Address unclear naming issue
This commit is contained in:
parent
d6f60db234
commit
602062f011
@ -42,8 +42,8 @@ namespace osu.Game.Screens.Play.HUD.HitErrorMeters
|
|||||||
[SettingSource("Label style", "How to show early/late extremities")]
|
[SettingSource("Label style", "How to show early/late extremities")]
|
||||||
public Bindable<LabelStyles> LabelStyle { get; } = new Bindable<LabelStyles>(LabelStyles.Icons);
|
public Bindable<LabelStyles> LabelStyle { get; } = new Bindable<LabelStyles>(LabelStyles.Icons);
|
||||||
|
|
||||||
[SettingSource("Bar visibility")]
|
[SettingSource("Show colour bars")]
|
||||||
public Bindable<bool> BarVisibility { get; } = new Bindable<bool>(true);
|
public Bindable<bool> ColourBarVisibility { get; } = new Bindable<bool>(true);
|
||||||
|
|
||||||
private const int judgement_line_width = 14;
|
private const int judgement_line_width = 14;
|
||||||
|
|
||||||
@ -181,7 +181,7 @@ namespace osu.Game.Screens.Play.HUD.HitErrorMeters
|
|||||||
|
|
||||||
CentreMarkerStyle.BindValueChanged(style => recreateCentreMarker(style.NewValue), true);
|
CentreMarkerStyle.BindValueChanged(style => recreateCentreMarker(style.NewValue), true);
|
||||||
LabelStyle.BindValueChanged(style => recreateLabels(style.NewValue), true);
|
LabelStyle.BindValueChanged(style => recreateLabels(style.NewValue), true);
|
||||||
BarVisibility.BindValueChanged(visible =>
|
ColourBarVisibility.BindValueChanged(visible =>
|
||||||
{
|
{
|
||||||
colourBarsEarly.FadeTo(visible.NewValue ? 1 : 0, 500, Easing.OutQuint);
|
colourBarsEarly.FadeTo(visible.NewValue ? 1 : 0, 500, Easing.OutQuint);
|
||||||
colourBarsLate.FadeTo(visible.NewValue ? 1 : 0, 500, Easing.OutQuint);
|
colourBarsLate.FadeTo(visible.NewValue ? 1 : 0, 500, Easing.OutQuint);
|
||||||
|
Loading…
Reference in New Issue
Block a user