From 89756e2e8a059497919946f1b398f522347cb7e8 Mon Sep 17 00:00:00 2001 From: "Mr. Pennyworth" Date: Tue, 6 Aug 2024 08:55:57 -0500 Subject: [PATCH] Enable pinch-and-zoom Fixes #22 --- AlfredExtraPane.xcodeproj/project.pbxproj | 4 ++-- AlfredExtraPane/Pane.swift | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/AlfredExtraPane.xcodeproj/project.pbxproj b/AlfredExtraPane.xcodeproj/project.pbxproj index 4456a25..de9c793 100644 --- a/AlfredExtraPane.xcodeproj/project.pbxproj +++ b/AlfredExtraPane.xcodeproj/project.pbxproj @@ -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; @@ -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; diff --git a/AlfredExtraPane/Pane.swift b/AlfredExtraPane/Pane.swift index ce93b83..bc6c8af 100644 --- a/AlfredExtraPane/Pane.swift +++ b/AlfredExtraPane/Pane.swift @@ -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))