Skip to content

Commit 14deacc

Browse files
committed
Disable touch pitch for low render mode
1 parent 69d6041 commit 14deacc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ const map = (window._map = new mapboxgl.Map({
134134
dragRotate: renderingMode === 'high',
135135
keyboard: renderingMode === 'high',
136136
fadeDuration: renderingMode === 'high' ? 300 : 0,
137+
touchPitch: renderingMode === 'high',
137138
}));
138139
if (renderingMode === 'low') {
139140
map.touchZoomRotate.disableRotation();

0 commit comments

Comments
 (0)