Offset scrollDelta = new Offset(_scrollData.scrollX, _scrollData.scrollY) / devicePixelRatio;
yield return new PointerScrollEvent(
timeStamp: timeStamp,
pointer: state.pointer,
kind: kind,
device: _scrollData.device,
position: position,
public class PointerScrollEvent : PointerSignalEvent {
public PointerScrollEvent(
TimeSpan timeStamp,
int pointer,
PointerDeviceKind kind = PointerDeviceKind.mouse,
int device = 0,
Offset position = null,
pointer: pointer,
device: device,
position: position) {
D.assert(position != null);