mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-27 00:07:58 +01:00
Combine to pattern
This commit is contained in:
@@ -1421,7 +1421,7 @@ public static partial class Application
|
||||
|
||||
var view = View.FindDeepestView (Current, a.MouseEvent.X, a.MouseEvent.Y, out int screenX, out int screenY);
|
||||
|
||||
if (view is { } && view.WantContinuousButtonPressed)
|
||||
if (view is { WantContinuousButtonPressed: true })
|
||||
{
|
||||
WantContinuousButtonPressedView = view;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user