Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Fine tune gesture zoom & rotation #10134

Merged
merged 1 commit into from
Oct 9, 2017
Merged

Conversation

tobrun
Copy link
Member

@tobrun tobrun commented Oct 5, 2017

follow up from #10026, closes #10102.

@tobrun tobrun added the Android Mapbox Maps SDK for Android label Oct 5, 2017
@tobrun tobrun added this to the android-v5.2.0 milestone Oct 5, 2017
@tobrun tobrun self-assigned this Oct 5, 2017
@tobrun
Copy link
Member Author

tobrun commented Oct 5, 2017

I'm going to wait to merge this after #10135 has landed to include these changes in the next SNAPSHOT

@tobrun
Copy link
Member Author

tobrun commented Oct 6, 2017

Adding a note here to retest this PR with a chromebook before merging

@@ -382,6 +382,10 @@ public void onDestroy() {

@Override
public boolean onTouchEvent(MotionEvent event) {
if (nativeMapView == null) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about extracting this block of code into a private method? IMO, we should try to keep public methods as clean as possible so it reads like pseudocode (a.k.a. no conditionals, fors, etc.).

@tobrun tobrun merged commit 9048d6c into release-agua Oct 9, 2017
@tobrun tobrun deleted the tvn-gesture-fine-tune branch October 9, 2017 14:51
@Guardiola31337 Guardiola31337 mentioned this pull request Oct 19, 2017
20 tasks
@Guardiola31337 Guardiola31337 mentioned this pull request Oct 26, 2017
20 tasks
@tobrun tobrun mentioned this pull request Nov 3, 2017
21 tasks
This was referenced Nov 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants