mirror of
https://github.com/ppy/osu
synced 2025-01-17 11:30:52 +00:00
Fix typo and missnaming.
This commit is contained in:
parent
ec2bc4720d
commit
63535df6dc
@ -23,8 +23,8 @@ namespace osu.Desktop.Tests
|
||||
IsCounting = true
|
||||
};
|
||||
Add(kc);
|
||||
kc.AddKey(new KeyCounterKeyBoard(@"Z", Key.Z));
|
||||
kc.AddKey(new KeyCounterKeyBoard(@"X", Key.X));
|
||||
kc.AddKey(new KeyCounterKeyboard(@"Z", Key.Z));
|
||||
kc.AddKey(new KeyCounterKeyboard(@"X", Key.X));
|
||||
kc.AddKey(new KeyCounterMouse(@"M1", MouseButton.Left));
|
||||
kc.AddKey(new KeyCounterMouse(@"M2", MouseButton.Right));
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
@ -54,7 +54,7 @@
|
||||
<Compile Include="Graphics\Processing\RatioAdjust.cs" />
|
||||
<Compile Include="Graphics\TextAwesome.cs" />
|
||||
<Compile Include="Graphics\UserInterface\KeyCounter.cs" />
|
||||
<Compile Include="Graphics\UserInterface\KeyCounterKeyBoard.cs" />
|
||||
<Compile Include="Graphics\UserInterface\KeyCounterKeyboard.cs" />
|
||||
<Compile Include="Graphics\UserInterface\KeyCounterCollection.cs" />
|
||||
<Compile Include="Graphics\UserInterface\KeyCounterMouse.cs" />
|
||||
<Compile Include="Online\API\APIAccess.cs" />
|
||||
|
Loading…
Reference in New Issue
Block a user