Commit 6d8d3a0c authored by Adam Barth's avatar Adam Barth

Merge pull request #2969 from abarth/pointer_buttons

Pointer events should pass buttons through
parents 055268ea 4e4a352a
......@@ -73,6 +73,7 @@ class PointerEventConverter {
pointer: state.pointer,
kind: kind,
position: position,
buttons: datum.buttons,
obscured: datum.obscured,
pressure: datum.pressure,
pressureMin: datum.pressureMin,
......@@ -102,6 +103,7 @@ class PointerEventConverter {
position: position,
delta: offset,
down: state.down,
buttons: datum.buttons,
obscured: datum.obscured,
pressure: datum.pressure,
pressureMin: datum.pressureMin,
......@@ -136,6 +138,7 @@ class PointerEventConverter {
position: position,
delta: offset,
down: state.down,
buttons: datum.buttons,
obscured: datum.obscured,
pressure: datum.pressure,
pressureMin: datum.pressureMin,
......@@ -159,6 +162,7 @@ class PointerEventConverter {
pointer: state.pointer,
kind: kind,
position: position,
buttons: datum.buttons,
obscured: datum.obscured,
pressureMax: datum.pressureMax,
distance: datum.distance,
......@@ -174,6 +178,7 @@ class PointerEventConverter {
pointer: state.pointer,
kind: kind,
position: position,
buttons: datum.buttons,
obscured: datum.obscured,
pressureMin: datum.pressureMin,
pressureMax: datum.pressureMax,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment