Skip to content

Commit

Permalink
Enable pinch-and-zoom
Browse files Browse the repository at this point in the history
Fixes #22
  • Loading branch information
mr-pennyworth committed Aug 6, 2024
1 parent fa73f16 commit 89756e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AlfredExtraPane.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 11.0;
MARKETING_VERSION = 0.2.7;
MARKETING_VERSION = 0.2.8;
ONLY_ACTIVE_ARCH = NO;
OTHER_CODE_SIGN_FLAGS = "--deep";
PRODUCT_BUNDLE_IDENTIFIER = mr.pennyworth.AlfredExtraPane;
Expand All @@ -438,7 +438,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 11.0;
MARKETING_VERSION = 0.2.7;
MARKETING_VERSION = 0.2.8;
ONLY_ACTIVE_ARCH = NO;
OTHER_CODE_SIGN_FLAGS = "--deep";
PRODUCT_BUNDLE_IDENTIFIER = mr.pennyworth.AlfredExtraPane;
Expand Down
1 change: 1 addition & 0 deletions AlfredExtraPane/Pane.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ class Pane {
self.workflowUID = workflowPaneConfig.workflowUID
window.contentView!.addSubview(webView)
webView.navigationDelegate = webViewNavigationDelegate
webView.allowsMagnification = true

if let staticConf = self.config.staticPaneConfig {
webView.load(URLRequest(url: staticConf.initURL))
Expand Down

0 comments on commit 89756e2

Please sign in to comment.