Fix most open compound words in identifiers being closed

This commit is contained in:
Joseph Madamba
2021-12-09 21:15:00 -08:00
parent 98524d60a4
commit 7de43e3aba
60 changed files with 224 additions and 224 deletions

View File

@ -56,7 +56,7 @@ namespace osu.Game.Screens.Edit.Setup
{
new Box
{
Colour = colours.GreySeafoamDarker,
Colour = colours.GreySeaFoamDarker,
RelativeSizeAxes = Axes.Both,
},
new OsuTextFlowContainer(t => t.Font = OsuFont.Default.With(size: 24))

View File

@ -41,7 +41,7 @@ namespace osu.Game.Screens.Edit.Timing
}
private readonly SettingsSlider<T> slider;
private readonly LabelledTextBox textbox;
private readonly LabelledTextBox textBox;
/// <summary>
/// Creates an <see cref="IndeterminateSliderWithTextBoxInput{T}"/>.
@ -66,7 +66,7 @@ namespace osu.Game.Screens.Edit.Timing
Spacing = new Vector2(0, 5),
Children = new Drawable[]
{
textbox = new LabelledTextBox
textBox = new LabelledTextBox
{
Label = labelText,
},
@ -80,7 +80,7 @@ namespace osu.Game.Screens.Edit.Timing
},
};
textbox.OnCommit += (t, isNew) =>
textBox.OnCommit += (t, isNew) =>
{
if (!isNew) return;
@ -110,13 +110,13 @@ namespace osu.Game.Screens.Edit.Timing
// use the value from the slider to ensure that any precision/min/max set on it via the initial indeterminate value have been applied correctly.
decimal decimalValue = slider.Current.Value.ToDecimal(NumberFormatInfo.InvariantInfo);
textbox.Text = decimalValue.ToString($@"N{FormatUtils.FindPrecision(decimalValue)}");
textbox.PlaceholderText = string.Empty;
textBox.Text = decimalValue.ToString($@"N{FormatUtils.FindPrecision(decimalValue)}");
textBox.PlaceholderText = string.Empty;
}
else
{
textbox.Text = null;
textbox.PlaceholderText = "(multiple)";
textBox.Text = null;
textBox.PlaceholderText = "(multiple)";
}
}
}

View File

@ -19,7 +19,7 @@ namespace osu.Game.Screens.Edit.Timing
public SliderWithTextBoxInput(LocalisableString labelText)
{
LabelledTextBox textbox;
LabelledTextBox textBox;
RelativeSizeAxes = Axes.X;
AutoSizeAxes = Axes.Y;
@ -33,7 +33,7 @@ namespace osu.Game.Screens.Edit.Timing
Direction = FillDirection.Vertical,
Children = new Drawable[]
{
textbox = new LabelledTextBox
textBox = new LabelledTextBox
{
Label = labelText,
},
@ -46,7 +46,7 @@ namespace osu.Game.Screens.Edit.Timing
},
};
textbox.OnCommit += (t, isNew) =>
textBox.OnCommit += (t, isNew) =>
{
if (!isNew) return;
@ -66,7 +66,7 @@ namespace osu.Game.Screens.Edit.Timing
Current.BindValueChanged(val =>
{
textbox.Text = val.NewValue.ToString();
textBox.Text = val.NewValue.ToString();
}, true);
}