mirror of https://github.com/ppy/osu
Perform rewind with right click only if cursor didn't leave the button
This commit is contained in:
parent
224714efd5
commit
b66409bd37
|
@ -119,7 +119,7 @@ protected override bool OnClick(ClickEvent e)
|
|||
|
||||
protected override void OnMouseUp(MouseUpEvent e)
|
||||
{
|
||||
if (e.Button == MouseButton.Right)
|
||||
if (e.Button == MouseButton.Right && IsHovered)
|
||||
{
|
||||
rewindSearch = true;
|
||||
TriggerClick();
|
||||
|
|
Loading…
Reference in New Issue