Merged (Rebased) continous button PR

This commit is contained in:
Tig
2024-04-05 12:15:13 -04:00
parent 50f9b3559e
commit ba429cffc2
8 changed files with 170 additions and 316 deletions

View File

@@ -172,7 +172,7 @@ public partial class View
// If mouse is still in bounds, click
if (!WantContinuousButtonPressed && Viewport.Contains (mouseEvent.X, mouseEvent.Y))
{
return OnMouseClick (mouseEvent);
return OnMouseClick (new(mouseEvent));
}
return mouseEvent.Handled = true;
@@ -194,7 +194,7 @@ public partial class View
SetFocus ();
}
args.Handled = true;
mouseEvent.Handled = true;
}
if (Viewport.Contains (mouseEvent.X, mouseEvent.Y))