Fix typo and missnaming.

This commit is contained in:
Huo Yaoyuan
2016-09-24 14:28:59 +08:00
parent ec2bc4720d
commit 63535df6dc
4 changed files with 6 additions and 6 deletions

View File

@ -91,7 +91,7 @@ namespace osu.Game.Graphics.UserInterface
}
};
//Set this manually because an element with Alpha=0 won't take it size to AutoSizeContainer,
//so the size can be changing between buttonSpirit and glowSpirit.
//so the size can be changing between buttonSprite and glowSprite.
Height = buttonSprite.Height;
Width = buttonSprite.Width;
}

View File

@ -7,10 +7,10 @@ using osu.Framework.Input;
namespace osu.Game.Graphics.UserInterface
{
public class KeyCounterKeyBoard : KeyCounter
public class KeyCounterKeyboard : KeyCounter
{
public Key Key { get; }
public KeyCounterKeyBoard(string name, Key key) : base(name)
public KeyCounterKeyboard(string name, Key key) : base(name)
{
Key = key;
}