fix(dimension): hide definition markers

Keep direct POINT helpers out of baked dimension pictures while preserving nested arrow block geometry.

Refs #864
This commit is contained in:
Hakan Seven committed 2026-08-25 23:51:11 +03:00
1 parent b2b84283ae
commit 2ed4a5d8f3
1 file changed
+4 -1
+4 -1
View File
@@ -818,7 +818,10 @@ fn tessellate_entity_inner(
graph.walk_insert(
&insert,
h,
|_, _| true,
|sub, context| {
// Direct POINTs are dimension definition markers.
context.insert_path.len() != 1 || !matches!(sub, EntityType::Point(_))
},
|sub, context| {
let has_book_color = view::render::has_resolved_book_color(document, sub);
let color_byblock =