Fix typos; remove outdated comments; minor order changes

This commit is contained in:
HoutarouOreki
2018-07-23 18:38:20 +02:00
parent 554c56d51f
commit f685c5ba58
5 changed files with 11 additions and 14 deletions

View File

@ -45,7 +45,7 @@ namespace osu.Game.Graphics.UserInterface
/// takes up the full parent's axis defined by <see cref="IsHorizontal"/>.
/// </summary>
/// <param name="startCollapsed">Whether to initialize with the
/// <see cref="CollapsedSize"/> or the <see cref="UncollapsedSize"/></param>
/// <see cref="CollapsedSize"/> or the <see cref="UncollapsedSize"/>.</param>
public LineBadge(bool startCollapsed = true)
{
IsCollapsed = startCollapsed;

View File

@ -21,6 +21,7 @@ namespace osu.Game.Graphics.UserInterface
{
private readonly SpriteIcon icon;
private SampleChannel sampleHover;
public Action Action;
private bool isEnabled;
@ -30,7 +31,7 @@ namespace osu.Game.Graphics.UserInterface
set
{
isEnabled = value;
icon.Alpha = value ? 1 : 0.5f;
icon.FadeTo(value ? 1 : 0.5f, 250);
}
}