1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 20:13:22 +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
commit 9ddc2f4804
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();