mirror of
https://github.com/osukey/osukey.git
synced 2025-05-17 03:27:21 +09:00
Apply minor fixes
This commit is contained in:
parent
9a5e464c99
commit
63f0419d6a
@ -51,7 +51,7 @@ namespace osu.Game.Screens.Edit.Screens.Compose
|
|||||||
{
|
{
|
||||||
new Drawable[]
|
new Drawable[]
|
||||||
{
|
{
|
||||||
new TickSliderBar(beatDivisor, 1, 2, 3, 4, 6, 8, 12, 16)
|
new TickSliderBar(beatDivisor, BindableBeatDivisor.VALID_DIVISORS)
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
}
|
}
|
||||||
@ -216,11 +216,10 @@ namespace osu.Game.Screens.Edit.Screens.Compose
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override bool HandleKeyboardInput => IsHovered && !CurrentNumber.Disabled;
|
||||||
|
|
||||||
protected override bool OnKeyDown(InputState state, KeyDownEventArgs args)
|
protected override bool OnKeyDown(InputState state, KeyDownEventArgs args)
|
||||||
{
|
{
|
||||||
if (!IsHovered || CurrentNumber.Disabled)
|
|
||||||
return false;
|
|
||||||
|
|
||||||
switch (args.Key)
|
switch (args.Key)
|
||||||
{
|
{
|
||||||
case Key.Right:
|
case Key.Right:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user