Skip to content

Commit

Permalink
Fix a bug with the color not being copied after picking
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jan 13, 2022
1 parent 218ef6c commit f9b85d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Color Picker/ColorPanel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f9b85d8

Please sign in to comment.