mirror of
https://github.com/osukey/osukey.git
synced 2025-05-29 09:27:18 +09:00
Allow rewinding random in song select with Shift + Left Click
This commit is contained in:
parent
34457078eb
commit
fa5c05120c
@ -59,6 +59,18 @@ namespace osu.Game.Screens.Select
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected override bool OnClick(ClickEvent e)
|
||||||
|
{
|
||||||
|
rewindSearch = e.ShiftPressed;
|
||||||
|
return base.OnClick(e);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected override void OnMouseUp(MouseUpEvent e)
|
||||||
|
{
|
||||||
|
rewindSearch = false;
|
||||||
|
base.OnMouseUp(e);
|
||||||
|
}
|
||||||
|
|
||||||
public override bool OnPressed(KeyBindingPressEvent<GlobalAction> e)
|
public override bool OnPressed(KeyBindingPressEvent<GlobalAction> e)
|
||||||
{
|
{
|
||||||
rewindSearch = e.Action == GlobalAction.SelectPreviousRandom;
|
rewindSearch = e.Action == GlobalAction.SelectPreviousRandom;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user