1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-20 04:39:57 +08:00

Merge pull request #21523 from Feodor0090/rewind-click-fix

Perform rewind with right click only if cursor didn't leave the button
This commit is contained in:
Dan Balasescu
2022-12-06 13:38:20 +09:00
committed by GitHub
Unverified
@@ -119,7 +119,7 @@ namespace osu.Game.Screens.Select
protected override void OnMouseUp(MouseUpEvent e)
{
if (e.Button == MouseButton.Right)
if (e.Button == MouseButton.Right && IsHovered)
{
rewindSearch = true;
TriggerClick();