bUnit icon indicating copy to clipboard operation
bUnit copied to clipboard

Add `MovementX` and `MovementY` to relevant `MouseEventArgs`

Open linkdotnet opened this issue 1 year ago • 2 comments

.net7.0-preview7 introduced two new properties on the MouseEventArgs: MovementX and MovementY (API diff, current main).

I tried to find in which places the property gets set, but found only a view occurrences (and not even the obvious MouseMoveEvent): image

The most obvious case would be to add it to mousemove. Not sure where you need it on onclick. For starters we could go with that and see if folks need it somewhere else.

linkdotnet avatar Aug 17 '22 06:08 linkdotnet

If we add it to one of the handler trigger methods with all the default arguments, then we should for consistency sake add it to all.

For now, it's a nice to have. Users that want to set these can use the handler trigger method that takes an MouseEventArg as input.

egil avatar Aug 17 '22 16:08 egil

Labelled it as „good first issue“.

linkdotnet avatar Aug 17 '22 19:08 linkdotnet