mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Fix typos; remove outdated comments; minor order changes
This commit is contained in:
@ -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;
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user