mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Fix typo and missnaming.
This commit is contained in:
@ -23,8 +23,8 @@ namespace osu.Desktop.Tests
|
|||||||
IsCounting = true
|
IsCounting = true
|
||||||
};
|
};
|
||||||
Add(kc);
|
Add(kc);
|
||||||
kc.AddKey(new KeyCounterKeyBoard(@"Z", Key.Z));
|
kc.AddKey(new KeyCounterKeyboard(@"Z", Key.Z));
|
||||||
kc.AddKey(new KeyCounterKeyBoard(@"X", Key.X));
|
kc.AddKey(new KeyCounterKeyboard(@"X", Key.X));
|
||||||
kc.AddKey(new KeyCounterMouse(@"M1", MouseButton.Left));
|
kc.AddKey(new KeyCounterMouse(@"M1", MouseButton.Left));
|
||||||
kc.AddKey(new KeyCounterMouse(@"M2", MouseButton.Right));
|
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,
|
//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;
|
Height = buttonSprite.Height;
|
||||||
Width = buttonSprite.Width;
|
Width = buttonSprite.Width;
|
||||||
}
|
}
|
||||||
|
@ -7,10 +7,10 @@ using osu.Framework.Input;
|
|||||||
|
|
||||||
namespace osu.Game.Graphics.UserInterface
|
namespace osu.Game.Graphics.UserInterface
|
||||||
{
|
{
|
||||||
public class KeyCounterKeyBoard : KeyCounter
|
public class KeyCounterKeyboard : KeyCounter
|
||||||
{
|
{
|
||||||
public Key Key { get; }
|
public Key Key { get; }
|
||||||
public KeyCounterKeyBoard(string name, Key key) : base(name)
|
public KeyCounterKeyboard(string name, Key key) : base(name)
|
||||||
{
|
{
|
||||||
Key = key;
|
Key = key;
|
||||||
}
|
}
|
@ -54,7 +54,7 @@
|
|||||||
<Compile Include="Graphics\Processing\RatioAdjust.cs" />
|
<Compile Include="Graphics\Processing\RatioAdjust.cs" />
|
||||||
<Compile Include="Graphics\TextAwesome.cs" />
|
<Compile Include="Graphics\TextAwesome.cs" />
|
||||||
<Compile Include="Graphics\UserInterface\KeyCounter.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\KeyCounterCollection.cs" />
|
||||||
<Compile Include="Graphics\UserInterface\KeyCounterMouse.cs" />
|
<Compile Include="Graphics\UserInterface\KeyCounterMouse.cs" />
|
||||||
<Compile Include="Online\API\APIAccess.cs" />
|
<Compile Include="Online\API\APIAccess.cs" />
|
||||||
|
Reference in New Issue
Block a user