Skip to content

How to disable the enlarge when I make a magnified gesture on the touchpad #3843

Answered by FabianLars
linesoft2 asked this question in Q&A
Discussion options

You must be logged in to vote

For reference, this is the function to disable it: https://docs.rs/webview2-com/latest/webview2_com/Microsoft/Web/WebView2/Win32/struct.ICoreWebView2Settings5.html#method.SetIsPinchZoomEnabled

Users should be able to use that themselves once/if we expose https://docs.rs/wry/latest/x86_64-pc-windows-msvc/wry/webview/struct.WebView.html#method.controller in tauri.

But i feel like we should match this setting with the default zoom functionality (which is currently always disabled.).

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by linesoft2
Comment options

You must be logged in to vote
3 replies
@linesoft2
Comment options

@FabianLars
Comment options

@Jethril
Comment options

Comment options

You must be logged in to vote
1 reply
@Jethril
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants