mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
MouseEvent: int X, int Y -> Point Position
This commit is contained in:
@@ -322,7 +322,7 @@ public class TextValidateField_NET_Provider_Tests
|
||||
Assert.False (field.IsValid);
|
||||
Assert.Equal ("--(1 )--", field.Provider.Text);
|
||||
|
||||
field.NewMouseEvent (new MouseEvent { X = 25, Flags = MouseFlags.Button1Pressed });
|
||||
field.NewMouseEvent (new MouseEvent { Position = new (25, 0), Flags = MouseFlags.Button1Pressed });
|
||||
|
||||
field.NewKeyDownEvent (Key.D1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user