Skip to content

Commit 16c0c4f

Browse files
committed
Minor fix for disabling anchors
1 parent 623e263 commit 16c0c4f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

editor/src/messages/tool/common_functionality/shape_editor.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ impl SelectedLayerState {
7272
self.ignore_anchors = ignore;
7373
}
7474
pub fn clear_points(&mut self) {
75+
if self.ignore_handles || self.ignore_anchors {
76+
return;
77+
}
7578
self.selected_points.clear();
7679
}
7780
pub fn selected_points_count(&self) -> usize {

0 commit comments

Comments
 (0)