diff --git a/editor/src/messages/tool/common_functionality/shape_editor.rs b/editor/src/messages/tool/common_functionality/shape_editor.rs index 1c937ae23a..b97efd6e3b 100644 --- a/editor/src/messages/tool/common_functionality/shape_editor.rs +++ b/editor/src/messages/tool/common_functionality/shape_editor.rs @@ -2123,7 +2123,7 @@ impl ShapeState { let select = match selection_shape { SelectionShape::Box(rect) => { - let enclosed = segment_bbox.contains_rect(rect); + let enclosed = rect.contains_rect(segment_bbox); match selection_mode { SelectionMode::Enclosed => enclosed, _ => {