Skip to content

Commit dc0f27d

Browse files
committed
Remove animation for moving widget to align to cursor
It seems to be slowing down everything when the animation happens
1 parent 3444580 commit dc0f27d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Core/Sources/SuggestionWidget/SuggestionWidgetController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ public final class SuggestionWidgetController {
271271
.integer(forKey: SettingsKey.suggestionWidgetPositionMode)
272272
)
273273
if mode != .alignToTextCursor { break }
274-
self.updateWindowLocation(animated: true)
274+
self.updateWindowLocation(animated: false)
275275
}
276276
} else {
277277
for await _ in merge(selectionRangeChange, scroll) {

0 commit comments

Comments
 (0)