Skip to content

Commit 604d896

Browse files
committed
Fix typo and missnaming.
1 parent e609a4a commit 604d896

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

osu.Desktop.VisualTests/Tests/TestCaseKeyCounter.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ public override void Reset()
2323
IsCounting = true
2424
};
2525
Add(kc);
26-
kc.AddKey(new KeyCounterKeyBoard(@"Z", Key.Z));
27-
kc.AddKey(new KeyCounterKeyBoard(@"X", Key.X));
26+
kc.AddKey(new KeyCounterKeyboard(@"Z", Key.Z));
27+
kc.AddKey(new KeyCounterKeyboard(@"X", Key.X));
2828
kc.AddKey(new KeyCounterMouse(@"M1", MouseButton.Left));
2929
kc.AddKey(new KeyCounterMouse(@"M2", MouseButton.Right));
3030
}

osu.Game/Graphics/UserInterface/KeyCounter.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public override void Load()
9191
}
9292
};
9393
//Set this manually because an element with Alpha=0 won't take it size to AutoSizeContainer,
94-
//so the size can be changing between buttonSpirit and glowSpirit.
94+
//so the size can be changing between buttonSprite and glowSprite.
9595
Height = buttonSprite.Height;
9696
Width = buttonSprite.Width;
9797
}

osu.Game/Graphics/UserInterface/KeyCounterKeyBoard.cs osu.Game/Graphics/UserInterface/KeyCounterKeyboard.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77

88
namespace osu.Game.Graphics.UserInterface
99
{
10-
public class KeyCounterKeyBoard : KeyCounter
10+
public class KeyCounterKeyboard : KeyCounter
1111
{
1212
public Key Key { get; }
13-
public KeyCounterKeyBoard(string name, Key key) : base(name)
13+
public KeyCounterKeyboard(string name, Key key) : base(name)
1414
{
1515
Key = key;
1616
}

osu.Game/osu.Game.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
<Compile Include="Graphics\Processing\RatioAdjust.cs" />
5555
<Compile Include="Graphics\TextAwesome.cs" />
5656
<Compile Include="Graphics\UserInterface\KeyCounter.cs" />
57-
<Compile Include="Graphics\UserInterface\KeyCounterKeyBoard.cs" />
57+
<Compile Include="Graphics\UserInterface\KeyCounterKeyboard.cs" />
5858
<Compile Include="Graphics\UserInterface\KeyCounterCollection.cs" />
5959
<Compile Include="Graphics\UserInterface\KeyCounterMouse.cs" />
6060
<Compile Include="Online\API\APIAccess.cs" />

0 commit comments

Comments
 (0)