Skip to content

Commit

Permalink
Merge pull request #20 from antonplagemann/master
Browse files Browse the repository at this point in the history
Prevent override of gmap gestureHandling setting
  • Loading branch information
plainheart authored Sep 17, 2024
2 parents 4d3c754 + a4fdaa5 commit acf1a92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GMapView.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const GMapView = {
)

gmap.setOptions({
gestureHandling: gmapModel.get('roam') ? 'auto' : 'none'
gestureHandling: gmapModel.get('roam') ? (gmapModel.get('gestureHandling') ?? 'auto') : 'none'
})

rendering = false
Expand Down

0 comments on commit acf1a92

Please sign in to comment.