Fix regression when rotating a group, resulting in an incorrect transform cage bounding box (#3184)

Revert "Reuse click target bounding boxes for document bounds"

This reverts commit d9e8a71cd0.
This commit is contained in:
Dennis Kobert
2025-09-16 22:41:44 +02:00
committed by GitHub
parent ab55b3225d
commit 390ce023ea
4 changed files with 19 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ pub struct ClickTarget {
impl ClickTarget {
pub fn new_with_subpath(subpath: Subpath<PointId>, stroke_width: f64) -> Self {
let bounding_box = subpath.bounding_box();
let bounding_box = subpath.loose_bounding_box();
Self {
target_type: ClickTargetType::Subpath(subpath),
stroke_width,