Fix Path tool box selection not selecting enclosed segments, only intersected (#3141)

fix path tool box selection not selecting the enclosed segment

Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
Priyanshu 2025-09-08 03:38:56 +05:30 committed by GitHub
parent 7686edd47b
commit 65171a5b8e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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,
_ => {