mirror of
https://github.com/ppy/osu
synced 2025-03-06 11:28:12 +00: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:
commit
9ddc2f4804
@ -119,7 +119,7 @@ namespace osu.Game.Screens.Select
|
|||||||
|
|
||||||
protected override void OnMouseUp(MouseUpEvent e)
|
protected override void OnMouseUp(MouseUpEvent e)
|
||||||
{
|
{
|
||||||
if (e.Button == MouseButton.Right)
|
if (e.Button == MouseButton.Right && IsHovered)
|
||||||
{
|
{
|
||||||
rewindSearch = true;
|
rewindSearch = true;
|
||||||
TriggerClick();
|
TriggerClick();
|
||||||
|
Loading…
Reference in New Issue
Block a user