Skip to content

Add touch events to minimap#81097

Merged
alexdima merged 4 commits intomicrosoft:masterfrom
Rophuine:master
Sep 30, 2019
Merged

Add touch events to minimap#81097
alexdima merged 4 commits intomicrosoft:masterfrom
Rophuine:master

Conversation

@Rophuine
Copy link
Contributor

Fixes #47771
Add touch events to minimap to allow scrolling the viewport using tap/drag on touchscreens.
Implemented using gestures - initially done using raw touch events but gestures seemed to add some nice inertia etc. and is idiomatic to the code base.
When you tap anywhere on the minimap it scrolls to that location.
As you drag it moves the viewport.
Similar behaviour to Visual Studio.
Testing in maximized & restored views including after resize and window move.

@msftclas
Copy link

msftclas commented Sep 18, 2019

CLA assistant check
All CLA requirements met.

@kieferrm kieferrm requested a review from alexdima September 18, 2019 17:23
@alexdima alexdima added this to the September 2019 milestone Sep 25, 2019
@alexdima alexdima merged commit 4ca2a27 into microsoft:master Sep 30, 2019
@alexdima
Copy link
Member

Thank you!

@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drag minimap slider with touch

3 participants