From d397f1627c763ba30ed0e5946aa8bc68279e3b34 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Mon, 9 Nov 2020 13:02:46 -0600 Subject: [PATCH] Scale button images down so that PDF button images look correct when the small size icons are selected. --- Mac/MainWindow/MainWindowController.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Mac/MainWindow/MainWindowController.swift b/Mac/MainWindow/MainWindowController.swift index 0b1be8851..f6fd841ad 100644 --- a/Mac/MainWindow/MainWindowController.swift +++ b/Mac/MainWindow/MainWindowController.swift @@ -1299,6 +1299,7 @@ private extension MainWindowController { let button = NSButton() button.bezelStyle = .texturedRounded button.image = image + button.imageScaling = .scaleProportionallyDown button.action = Selector((selector)) toolbarItem.view = button