From f9b85d8d29fbca3e883583b333d0e6f826876273 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Thu, 13 Jan 2022 20:38:59 +0700 Subject: [PATCH] Fix a bug with the color not being copied after picking --- Color Picker/ColorPanel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Color Picker/ColorPanel.swift b/Color Picker/ColorPanel.swift index 204f326..b816b6a 100644 --- a/Color Picker/ColorPanel.swift +++ b/Color Picker/ColorPanel.swift @@ -12,7 +12,7 @@ final class ColorPanel: NSColorPanel, NSWindowDelegate { super.makeKeyAndOrderFront(sender) if Defaults[.showColorSamplerOnOpen] { - showColorSampler() + AppState.shared.pickColor() } // Prevent the first tab from showing focus ring.