We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7686edd commit 65171a5Copy full SHA for 65171a5
editor/src/messages/tool/common_functionality/shape_editor.rs
@@ -2123,7 +2123,7 @@ impl ShapeState {
2123
2124
let select = match selection_shape {
2125
SelectionShape::Box(rect) => {
2126
- let enclosed = segment_bbox.contains_rect(rect);
+ let enclosed = rect.contains_rect(segment_bbox);
2127
match selection_mode {
2128
SelectionMode::Enclosed => enclosed,
2129
_ => {
0 commit comments