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.