Fix clicking a selected anchor not deselecting all other selected points (#1782)

* possible location of the change is decided.

* fix for issue #1774
This commit is contained in:
Tayfun Yaşar 2024-06-16 07:02:09 +03:00 committed by GitHub
parent d8973ec8da
commit 5b6a2518e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -321,6 +321,7 @@ impl PathToolData {
// Select the first point within the threshold (in pixels)
if let Some(selected_points) = shape_editor.change_point_selection(document_network, document_metadata, input.mouse.position, SELECTION_THRESHOLD, add_to_selection) {
if let Some(selected_points) = selected_points {
self.drag_start_pos = input.mouse.position;
self.start_dragging_point(selected_points, input, document, responses);
responses.add(OverlaysMessage::Draw);
}