Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(617)

Unified Diff: ui/events/gesture_detection/gesture_provider_config_helper.cc

Issue 1778063002: Eliminate pinch drift by removing touch radius from span calculation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Shrink minimum scale span. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/events/gesture_detection/gesture_provider_config_helper.cc
diff --git a/ui/events/gesture_detection/gesture_provider_config_helper.cc b/ui/events/gesture_detection/gesture_provider_config_helper.cc
index c13636687c989de824b35faec25ec476834c5486..ebe426daddcec772cb8b20fc66bfcb3e4bb0f4d1 100644
--- a/ui/events/gesture_detection/gesture_provider_config_helper.cc
+++ b/ui/events/gesture_detection/gesture_provider_config_helper.cc
@@ -50,7 +50,6 @@ ScaleGestureDetector::Config BuildScaleGestureDetectorConfig(
const GestureConfiguration& gesture_config) {
ScaleGestureDetector::Config config;
config.span_slop = gesture_config.span_slop();
- config.min_scaling_touch_major = gesture_config.min_scaling_touch_major();
config.min_scaling_span = gesture_config.min_scaling_span_in_pixels();
config.min_pinch_update_span_delta =
gesture_config.min_pinch_update_span_delta();
« no previous file with comments | « ui/events/gesture_detection/gesture_configuration_aura.cc ('k') | ui/events/gesture_detection/scale_gesture_detector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698