mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-02 01:03:29 +01:00
Merged (Rebased) continous button PR
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user