Skip to content

Commit

Permalink
Trialed a couple ideas for how copy on pick works
Browse files Browse the repository at this point in the history
  • Loading branch information
superhighfives committed Oct 24, 2021
1 parent d38b6f4 commit 7548aa1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
Binary file modified Pika/Assets/en.lproj/Localizable.strings
Binary file not shown.
Binary file modified Pika/Assets/fr.lproj/Localizable.strings
Binary file not shown.
4 changes: 3 additions & 1 deletion Pika/Utilities/Eyedroppers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ class Eyedropper: ObservableObject {
} else {
NSApp.sendAction(#selector(AppDelegate.showPika), to: nil, from: nil)
}
} else if self.forceShow {
}

if self.forceShow {
self.forceShow = false
NSApp.sendAction(#selector(AppDelegate.showPika), to: nil, from: nil)
}
Expand Down
2 changes: 1 addition & 1 deletion Pika/Views/NavigationMenuItems.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ struct NavigationMenuItems: View {
Text(NSLocalizedString("color.pick.hide", comment: "Hide Pika while picking"))
}
Toggle(isOn: $copyColorOnPick) {
Text(NSLocalizedString("preferences.copy.description", comment: "Copy value when picking"))
Text(NSLocalizedString("preferences.copy.description", comment: "Copy color when picking"))
}
}
VStack {
Expand Down

0 comments on commit 7548aa1

Please sign in to comment.