Merge pull request #857 from ramox81/codex/align-point-behavior

Align point command, properties, and display behavior
This commit is contained in:
Hakan Seven authored and GitHub committed 2026-08-22 22:58:42 +03:00
commit 339d9afcfe
74 files changed
+998 -191

No files matched your search

+3 -3
View File
@@ -618,9 +618,9 @@ fn append_pdf_page(
flush_line(&mut ops, &segment, dot_radius);
segment.clear();
} else {
let lo = wire.points_low.get(pi).copied().unwrap_or([0.0; 3]);
let wx = (x as f64 + lo[0] as f64 + ox) as f32;
let wy = (y as f64 + lo[1] as f64 + oy) as f32;
let point = wire.point_world(pi, paper_h as f64 / scale.max(1e-6) as f64);
let wx = (point.x + ox) as f32;
let wy = (point.y + oy) as f32;
segment.push(LinePoint {
p: Point::new(Mm(wx), Mm(wy)),
bezier: false,