mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-27 19:08:12 +08:00
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:
@@ -321,6 +321,7 @@ impl PathToolData {
|
|||||||
// Select the first point within the threshold (in pixels)
|
// 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) = shape_editor.change_point_selection(document_network, document_metadata, input.mouse.position, SELECTION_THRESHOLD, add_to_selection) {
|
||||||
if let Some(selected_points) = selected_points {
|
if let Some(selected_points) = selected_points {
|
||||||
|
self.drag_start_pos = input.mouse.position;
|
||||||
self.start_dragging_point(selected_points, input, document, responses);
|
self.start_dragging_point(selected_points, input, document, responses);
|
||||||
responses.add(OverlaysMessage::Draw);
|
responses.add(OverlaysMessage::Draw);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user