DescriptionCorrect scale for touch radius & scroll offset ordinal
In https://codereview.chromium.org/12983010/
reversed_root_transform is passed into event::UpdateForRootTransform.
Then for TouchEvent::UpdateForRootTransform(), the radius_x/y now
should times the inverted device scale factor instead of being
divided by it. The same in ScrollEvent::UpdateForRootTransform() for
scroll offset ordinal.
BUG=chromium:226169
TEST=On Link, visit http://www.rbyers.net/paint.html, make sure
touch radius has normal range.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192490
Patch Set 1 #
Total comments: 2
Patch Set 2 : fixed also ScrollEvent::UpdateForRootTransform #Patch Set 3 : fixed nit #Patch Set 4 : added tests #Patch Set 5 : tests added #
Total comments: 2
Patch Set 6 : add const for "DesktopBackgroundView" #
Messages
Total messages: 16 (0 generated)
|