Perform rewind with right click only if cursor didn't leave the button

This commit is contained in:
ansel 2022-12-05 23:38:45 +03:00
parent 224714efd5
commit b66409bd37
1 changed files with 1 additions and 1 deletions

View File

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