Skip to content

Add webFrame.setZoomLevelLimits API#2612

Merged
zcbenz merged 1 commit into
masterfrom
disable-pinch
Aug 27, 2015
Merged

Add webFrame.setZoomLevelLimits API#2612
zcbenz merged 1 commit into
masterfrom
disable-pinch

Conversation

@zcbenz

@zcbenz zcbenz commented Aug 27, 2015

Copy link
Copy Markdown
Contributor

By calling require('web-frame').setZoomLevelLimits(1, 1);, the pinch-to-zoom feature can be turned off. There is no global switch to do that though, Chromium just hard coded this feature.

Fixes #2500.

zcbenz added a commit that referenced this pull request Aug 27, 2015
Add webFrame.setZoomLevelLimits API
@zcbenz zcbenz merged commit 4a7d5fa into master Aug 27, 2015
@zcbenz zcbenz deleted the disable-pinch branch August 27, 2015 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant