From b24d04d62040369f8ff8fa4f1d445929d6660ca4 Mon Sep 17 00:00:00 2001 From: ramox81 <184937705+ramox81@users.noreply.github.com> Date: Fri, 18 Sep 2026 23:46:26 +0300 Subject: [PATCH] Hover an object-mode Horizontal/Vertical glyph without endpoint markers The reference highlights only the object when its Horizontal/Vertical bar is hovered; the extra cross markers at the line's ends were ours alone. Point-mode (2Points) relations keep marking their two points. Co-Authored-By: Claude Fable 5.1 --- src/scene/parametric_constraints.rs | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/scene/parametric_constraints.rs b/src/scene/parametric_constraints.rs index e599ceb4f..421e2c46a 100644 --- a/src/scene/parametric_constraints.rs +++ b/src/scene/parametric_constraints.rs @@ -1170,25 +1170,6 @@ pub(crate) fn constraint_hover_points( } } - if matches!( - constraint.kind, - ConstraintKind::Horizontal | ConstraintKind::Vertical - ) { - for reference in &constraint.refs { - let Some(entity) = document.get_entity(reference.entity) else { - continue; - }; - if let Some(endpoints) = constraint_segment_endpoints(document, *reference) { - for point in endpoints { - push_unique(&mut points, point); - } - } else if matches!(entity, acadrust::EntityType::Line(_)) { - for point in super::dimension_assoc::source_points(entity) { - push_unique(&mut points, point); - } - } - } - } if matches!( constraint.kind,