Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
4e4a352a
Commit
4e4a352a
authored
Mar 29, 2016
by
Adam Barth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pointer events should pass buttons through
Fixes #2899
parent
055268ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
converter.dart
packages/flutter/lib/src/gestures/converter.dart
+5
-0
No files found.
packages/flutter/lib/src/gestures/converter.dart
View file @
4e4a352a
...
@@ -73,6 +73,7 @@ class PointerEventConverter {
...
@@ -73,6 +73,7 @@ class PointerEventConverter {
pointer:
state
.
pointer
,
pointer:
state
.
pointer
,
kind:
kind
,
kind:
kind
,
position:
position
,
position:
position
,
buttons:
datum
.
buttons
,
obscured:
datum
.
obscured
,
obscured:
datum
.
obscured
,
pressure:
datum
.
pressure
,
pressure:
datum
.
pressure
,
pressureMin:
datum
.
pressureMin
,
pressureMin:
datum
.
pressureMin
,
...
@@ -102,6 +103,7 @@ class PointerEventConverter {
...
@@ -102,6 +103,7 @@ class PointerEventConverter {
position:
position
,
position:
position
,
delta:
offset
,
delta:
offset
,
down:
state
.
down
,
down:
state
.
down
,
buttons:
datum
.
buttons
,
obscured:
datum
.
obscured
,
obscured:
datum
.
obscured
,
pressure:
datum
.
pressure
,
pressure:
datum
.
pressure
,
pressureMin:
datum
.
pressureMin
,
pressureMin:
datum
.
pressureMin
,
...
@@ -136,6 +138,7 @@ class PointerEventConverter {
...
@@ -136,6 +138,7 @@ class PointerEventConverter {
position:
position
,
position:
position
,
delta:
offset
,
delta:
offset
,
down:
state
.
down
,
down:
state
.
down
,
buttons:
datum
.
buttons
,
obscured:
datum
.
obscured
,
obscured:
datum
.
obscured
,
pressure:
datum
.
pressure
,
pressure:
datum
.
pressure
,
pressureMin:
datum
.
pressureMin
,
pressureMin:
datum
.
pressureMin
,
...
@@ -159,6 +162,7 @@ class PointerEventConverter {
...
@@ -159,6 +162,7 @@ class PointerEventConverter {
pointer:
state
.
pointer
,
pointer:
state
.
pointer
,
kind:
kind
,
kind:
kind
,
position:
position
,
position:
position
,
buttons:
datum
.
buttons
,
obscured:
datum
.
obscured
,
obscured:
datum
.
obscured
,
pressureMax:
datum
.
pressureMax
,
pressureMax:
datum
.
pressureMax
,
distance:
datum
.
distance
,
distance:
datum
.
distance
,
...
@@ -174,6 +178,7 @@ class PointerEventConverter {
...
@@ -174,6 +178,7 @@ class PointerEventConverter {
pointer:
state
.
pointer
,
pointer:
state
.
pointer
,
kind:
kind
,
kind:
kind
,
position:
position
,
position:
position
,
buttons:
datum
.
buttons
,
obscured:
datum
.
obscured
,
obscured:
datum
.
obscured
,
pressureMin:
datum
.
pressureMin
,
pressureMin:
datum
.
pressureMin
,
pressureMax:
datum
.
pressureMax
,
pressureMax:
datum
.
pressureMax
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment