aboutsummaryrefslogtreecommitdiff
path: root/Map/Presentation/Commands/MapCommands.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Map/Presentation/Commands/MapCommands.swift')
-rw-r--r--Map/Presentation/Commands/MapCommands.swift4
1 files changed, 1 insertions, 3 deletions
diff --git a/Map/Presentation/Commands/MapCommands.swift b/Map/Presentation/Commands/MapCommands.swift
index c04cb73..35250e2 100644
--- a/Map/Presentation/Commands/MapCommands.swift
+++ b/Map/Presentation/Commands/MapCommands.swift
@@ -67,9 +67,7 @@ struct MapCommands: Commands {
CommandGroup(after: CommandGroupPlacement.pasteboard) {
Divider()
Button("Find...") {
- withAnimation {
- isSearching = isSearching != nil ? !isSearching! : true
- }
+ isSearching = isSearching != nil ? !isSearching! : true
}.keyboardShortcut(
"f", modifiers: EventModifiers([.command])
).disabled(document == nil)