Skip to content

Instantly share code, notes, and snippets.

@mbauman mbauman/gist:770529
Created Jan 8, 2011

Embed
What would you like to do?
Reduce the zoom increment in WebKit
Index: WebKit/mac/WebView/WebView.mm
===================================================================
--- WebKit/mac/WebView/WebView.mm (revision 75189)
+++ WebKit/mac/WebView/WebView.mm (working copy)
@@ -3458,7 +3458,7 @@
#define MinimumZoomMultiplier 0.5f
#define MaximumZoomMultiplier 3.0f
-#define ZoomMultiplierRatio 1.2f
+#define ZoomMultiplierRatio 1.06265857f
- (BOOL)_canZoomOut:(BOOL)isTextOnly
{
@mbauman

This comment has been minimized.

Copy link
Owner Author

commented Jan 8, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.